{"_id":"tr46@7.0.0","bugs":{"url":"https://github.com/jsdom/tr46/issues"},"dist":{"shasum":"af39140d4a8860868de4e16477a4a946bda03a62","tarball":"http://registry-npm.ywwl.com/tr46/download/tr46-7.0.0.tgz","fileCount":7,"integrity":"sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==","signatures":[{"sig":"MEUCID2JEJQry5dLy2MkP/m+wbBgN62VGm1L8hyRg3AQ7u3XAiEAt+JBKDd5UWYR2O426gea6g3/Sa4dQcV7x0ZZi0fWHMs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGvdDmnFUTweMsxGNVZPD6L+HX8kOuoXR8SKRMpTgYKKAiEAxpf5WbpXLsOqr/0ftxKsSAR3WR217eiKgNthjqY5Apo="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tr46@7.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231811,"size":65623,"noattachment":false,"key":"/tr46/-/tr46-7.0.0.tgz"},"main":"index.js","name":"tr46","author":{"name":"Sebastian Mayr","email":"npm@smayr.name"},"engines":{"node":"^22.14.0 || >=24.0.0"},"gitHead":"6d09104f21991d496aa2a8535d21bdea91a9c216","license":"MIT","scripts":{"lint":"eslint","test":"node --test","pretest":"node scripts/getLatestTests.mjs","prepublish":"node scripts/generateMappingTable.mjs && node scripts/generateRegexes.mjs"},"version":"7.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a91eb11a-de72-42d5-a7c1-771e9ba852d9"}},"homepage":"https://github.com/jsdom/tr46#readme","keywords":["unicode","tr46","uts46","punycode","url","whatwg"],"repository":{"url":"git+https://github.com/jsdom/tr46.git","type":"git"},"_npmVersion":"11.19.0","description":"An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing","directories":{},"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"}],"_nodeVersion":"24.21.0","contributors":[{"name":"Timothy Gu","email":"timothygu99@gmail.com"}],"dependencies":{"punycode":"^2.3.1"},"_hasShrinkwrap":false,"unicodeVersion":"18.0.0","devDependencies":{"eslint":"^10.12.0","globals":"^17.13.0","regenerate":"^1.4.2","@domenic/eslint-config":"^5.1.0","@unicode/unicode-18.0.0":"^2.0.7","@stylistic/eslint-plugin":"^5.10.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tr46_7.0.0_1791102801199_0.9103534673007132"},"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":1791102801295,"_cnpm_publish_time":1791102801295,"dist-tags":{"latest":"7.0.0"}}