{"name":"tr46","version":"0.0.2","description":"An implementation of the Unicode TR46 spec","main":"index.js","scripts":{"test":"mocha","pretest":"node scripts/getLatestUnicodeTests.js","prepublish":"node scripts/generateMappingTable.js"},"repository":{"type":"git","url":"git+https://github.com/Sebmaster/tr46.js.git"},"keywords":["unicode","tr46","url","whatwg"],"author":{"name":"Sebastian Mayr","email":"npm@smayr.name"},"license":"MIT","bugs":{"url":"https://github.com/Sebmaster/tr46.js/issues"},"homepage":"https://github.com/Sebmaster/tr46.js#readme","devDependencies":{"mocha":"^2.2.5","request":"^2.57.0"},"gitHead":"fe029c592abe09154512f0d0ddb90d8d0e24dd87","_id":"tr46@0.0.2","_shasum":"847ca51535dcb1c9bd5df07a1e0ee7c3ed3f1479","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"sebmaster","email":"sebmaster16@gmail.com"},"maintainers":[{"name":"sebmaster","email":"sebmaster16@gmail.com"}],"dist":{"shasum":"847ca51535dcb1c9bd5df07a1e0ee7c3ed3f1479","tarball":"http://registry-npm.ywwl.com/tr46/download/tr46-0.0.2.tgz","integrity":"sha512-Hifn/q4SuHkr7CP28KLnSXCEVQN27uGvP+jI4ZbKy2W4Hnx0sZJMmghzf3nADGoziqKRxqhdZHfTti0PtdeIQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGhgbUwaBbAIDCf9+f4TFmDb4K0iN03Q0ee9oA0hSu+0AiEAy42uptmMmCqwrSn9/1Dc5RT59lqXBIH6WeX1LZ1hvN8="}],"size":63267,"noattachment":false,"key":"/tr46/-/tr46-0.0.2.tgz"},"directories":{},"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":1433603850114,"_cnpm_publish_time":1433603850114,"dist-tags":{"latest":"7.0.0"}}