List of special-use ICANN TLDs.
npm install special-tlds
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
MIT © Fabio Spampinato