{"name":"tr46","version":"5.1.1","keywords":["unicode","tr46","uts46","punycode","url","whatwg"],"author":{"name":"Sebastian Mayr","email":"npm@smayr.name"},"license":"MIT","_id":"tr46@5.1.1","maintainers":[{"name":"timothygu","email":"timothygu99@gmail.com"},{"name":"domenic","email":"d@domenic.me"},{"name":"sebmaster","email":"sebmaster16@gmail.com"},{"name":"zirro","email":"code@zirro.se"},{"name":"tmpvar","email":"tmpvar@gmail.com"},{"name":"joris-van-der-wel","email":"joris@jorisvanderwel.com"}],"contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com"}],"homepage":"https://github.com/jsdom/tr46#readme","bugs":{"url":"https://github.com/jsdom/tr46/issues"},"dist":{"shasum":"96ae867cddb8fdb64a49cc3059a8d428bcf238ca","tarball":"http://registry-npm.ywwl.com/tr46/download/tr46-5.1.1.tgz","fileCount":7,"integrity":"sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==","signatures":[{"sig":"MEYCIQCM5FspyM1JqI952qATQNDdTUWl5ww/y+c4pbi1BkNOowIhAOr0kzhk2lavDFpu7UXMDicPJTpdYbzrlOysqVU3Yunr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225902,"size":64015,"noattachment":false,"key":"/tr46/-/tr46-5.1.1.tgz"},"main":"index.js","engines":{"node":">=18"},"gitHead":"1999828c4c60e8f5672f0eb1fd4387e3f194923a","scripts":{"lint":"eslint","test":"node --test","pretest":"node scripts/getLatestTests.js","prepublish":"node scripts/generateMappingTable.js && node scripts/generateRegexes.js"},"_npmUser":{"name":"domenic","email":"d@domenic.me"},"repository":{"url":"git+https://github.com/jsdom/tr46.git","type":"git"},"_npmVersion":"10.9.2","description":"An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing","directories":{},"_nodeVersion":"23.9.0","dependencies":{"punycode":"^2.3.1"},"_hasShrinkwrap":false,"unicodeVersion":"16.0.0","devDependencies":{"eslint":"^9.22.0","globals":"^16.0.0","regenerate":"^1.4.2","@domenic/eslint-config":"^4.0.1","@unicode/unicode-16.0.0":"^1.6.5"},"_npmOperationalInternal":{"tmp":"tmp/tr46_5.1.1_1744850857969_0.06598419533962097","host":"s3://npm-registry-packages-npm-production"},"readme":"# tr46\n\nAn JavaScript implementation of [Unicode Technical Standard #46: Unicode IDNA Compatibility Processing](https://unicode.org/reports/tr46/).\n\n## API\n\n### `toASCII(domainName[, options])`\n\nConverts a string of Unicode symbols to a case-folded Punycode string of ASCII symbols.\n\nAvailable options:\n\n* [`checkBidi`](#checkbidi)\n* [`checkHyphens`](#checkhyphens)\n* [`checkJoiners`](#checkjoiners)\n* [`ignoreInvalidPunycode`](#ignoreinvalidpunycode)\n* [`transitionalProcessing`](#transitionalprocessing)\n* [`useSTD3ASCIIRules`](#usestd3asciirules)\n* [`verifyDNSLength`](#verifydnslength)\n\n### `toUnicode(domainName[, options])`\n\nConverts a case-folded Punycode string of ASCII symbols to a string of Unicode symbols.\n\nAvailable options:\n\n* [`checkBidi`](#checkbidi)\n* [`checkHyphens`](#checkhyphens)\n* [`checkJoiners`](#checkjoiners)\n* [`ignoreInvalidPunycode`](#ignoreinvalidpunycode)\n* [`transitionalProcessing`](#transitionalprocessing)\n* [`useSTD3ASCIIRules`](#usestd3asciirules)\n\n## Options\n\n### `checkBidi`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, any bi-directional text within the input will be checked for validation.\n\n### `checkHyphens`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, the positions of any hyphen characters within the input will be checked for validation.\n\n### `checkJoiners`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, any word joiner characters within the input will be checked for validation.\n\n### `ignoreInvalidPunycode`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, invalid Punycode strings within the input will be allowed.\n\n### `transitionalProcessing`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, uses [transitional (compatibility) processing](https://unicode.org/reports/tr46/#Compatibility_Processing) of the deviation characters.\n\n### `useSTD3ASCIIRules`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, input will be validated according to [STD3 Rules](http://unicode.org/reports/tr46/#STD3_Rules).\n\n### `verifyDNSLength`\n\nType: `boolean`\nDefault value: `false`\nWhen set to `true`, the length of each DNS label within the input will be checked for validation.\n","publish_time":1744850858158,"_cnpm_publish_time":1744850858158,"dist-tags":{"latest":"7.0.0"}}