{"name":"tr46","version":"0.0.1","description":"An implementation of the Unicode TR46 spec","main":"index.js","scripts":{"test":"mocha","prepublish":"node scripts/generate_mapping_table.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":"b22c3e63e038c82b9e96aa1c274162cdec52e002","_id":"tr46@0.0.1","_shasum":"b09da8c4b972bc43ba0cd750292358167a2b1dae","_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":"b09da8c4b972bc43ba0cd750292358167a2b1dae","tarball":"http://registry-npm.ywwl.com/tr46/download/tr46-0.0.1.tgz","integrity":"sha512-Jxc8qgb0Ulw7BZWke/eoMIAhRpo5dSfEM/DvDU1CWcr6jkwOWJY+eU7qrLmjGpmTSBGY2e0N+Al4rfwVynoAtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOnDcrir6U1p6HhAZhMM/acDa1q4QJS5OABd4iuf4jsAiEA4NDtW3BAe6vqip2anhr+5n90WiJOGxSnI1IAGcbkRLY="}],"size":62094,"noattachment":false,"key":"/tr46/-/tr46-0.0.1.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":1433574667303,"_cnpm_publish_time":1433574667303,"dist-tags":{"latest":"7.0.0"}}