Skip to content

List of special-use ICANN TLDs.

License

Notifications You must be signed in to change notification settings

fabiospampinato/special-tlds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Special TLDs

List of special-use ICANN TLDs.

Install

npm install special-tlds

Usage

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 them

License

MIT © Fabio Spampinato