special-tlds
v2.0.1
Published
List of special-use ICANN TLDs.
Maintainers
Readme
Special TLDs
List of special-use ICANN TLDs.
Install
npm install special-tldsUsage
This list could be used for adding support for special-use TLDs to linkify-it.
import linkify from 'linkify-it';
import tlds from 'special-tlds';
// Let's add these TLDs to linkify-it
const instance = linkify ();
instance.tlds ( tlds, true ); // It's important to pass "true", as that ensures the default TLDs will be still supported, as this package doesn't provide themLicense
MIT © Fabio Spampinato
