Skip to content

v3.0.0

Choose a tag to compare

@slevithan slevithan released this 22 May 22:40
· 27 commits to main since this release

This is a minor update, but includes a breaking change for a minor feature.

Breaking Changes

  • Renamed setSld as setTlds, and removed the extremely limited, built-in list of top-level domains (TLDs) that was included for illustrative purposes.

New Features

  • Can remove TLD extensions by calling setTlds with an empty object.
  • Can provide multi-level extentions for TLDs.

Improvements

  • Added JSDoc TypeScript definitions.
  • Improved the demo page with additional options, etc.