parse-domain
Version:
Splits a hostname into subdomains, domain and (effective) top-level domains
1 lines • 752 B
Source Map (JSON)
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,2DAA2D;AAC3D,OAAO,EACL,WAAW,EAEX,eAAe,GAMhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EACL,UAAU,EAEV,mBAAmB,GACpB,MAAM,eAAe,CAAC","sourcesContent":["/* istanbul ignore file */\n// Jest will report function coverage errors here otherwise\nexport {\n parseDomain,\n ParseResult,\n ParseResultType,\n ParseResultInvalid,\n ParseResultReserved,\n ParseResultNotListed,\n ParseResultListed,\n ParseResultIp,\n} from \"./parse-domain.js\";\nexport { fromUrl, NO_HOSTNAME } from \"./from-url.js\";\nexport {\n Validation,\n ValidationError,\n ValidationErrorType,\n} from \"./sanitize.js\";\n"]}