{"name":"tr46","version":"0.0.3","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":"a8009f9ce80ff5dbe71dd71e203afe4e4c878d28","_id":"tr46@0.0.3","_shasum":"8184fd347dac9cdc185992f3a6622e14b9d9ab6a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"sebmaster","email":"sebmaster16@gmail.com"},"dist":{"shasum":"8184fd347dac9cdc185992f3a6622e14b9d9ab6a","tarball":"http://registry-npm.ywwl.com/tr46/download/tr46-0.0.3.tgz","integrity":"sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUrUj2itfC5h6uLF7nT69DcaiOyeOICexYW6ev9JGRQAIhAN/aPMT9PK0tD0xWc3TobFmgoP+XPw2e49OIWLB8ZjHB"}],"size":64681,"noattachment":false,"key":"/tr46/-/tr46-0.0.3.tgz"},"maintainers":[{"name":"sebmaster","email":"sebmaster16@gmail.com"}],"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":1453255734875,"_cnpm_publish_time":1453255734875,"dist-tags":{"latest":"7.0.0"}}