{"_id":"ipv6-normalize","_rev":"537253","name":"ipv6-normalize","description":"ipv6-normalize","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"poying","email":"poying.me@gmail.com"}],"time":{"modified":"2024-06-25T07:07:19.000Z","created":"2015-04-22T01:38:34.637Z","1.0.1":"2015-04-22T01:40:37.447Z","1.0.0":"2015-04-22T01:38:34.637Z"},"users":{},"author":{"name":"Po-Ying Chen","email":"poying.me@gmail.com","url":"陳柏穎"},"repository":{"type":"git","url":"https://github.com/poying/ipv6-normalize.git"},"versions":{"1.0.1":{"name":"ipv6-normalize","version":"1.0.1","description":"ipv6-normalize","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Po-Ying Chen","email":"poying.me@gmail.com","url":"陳柏穎"},"license":"MIT","repository":{"type":"git","url":"https://github.com/poying/ipv6-normalize.git"},"bugs":{"url":"https://github.com/poying/ipv6-normalize/issues"},"homepage":"https://github.com/poying/ipv6-normalize","gitHead":"93b61f1bb15f432bfab535222eb49443257f91bf","_id":"ipv6-normalize@1.0.1","_shasum":"1b3258290d365fa83239e89907dde4592e7620a8","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"poying","email":"poying.me@gmail.com"},"maintainers":[{"name":"poying","email":"poying.me@gmail.com"}],"dist":{"shasum":"1b3258290d365fa83239e89907dde4592e7620a8","tarball":"http://registry-npm.ywwl.com/ipv6-normalize/download/ipv6-normalize-1.0.1.tgz","integrity":"sha512-Bm6H79i01DjgGTCWjUuCjJ6QDo1HB96PT/xCYuyJUP9WFbVDrLSbG4EZCvOCun2rNswZb0c3e4Jt/ws795esHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGevxu9FLulsHNHMiw1bOgrAAbjpRO2C6dXrQapCuh6IAiEA3k9KAzHpX067kf6E90GK9EHartCPI81sCG7daZ9J118="}],"size":1852,"noattachment":false,"key":"/ipv6-normalize/-/ipv6-normalize-1.0.1.tgz"},"directories":{},"publish_time":1429666837447,"_cnpm_publish_time":1429666837447},"1.0.0":{"name":"ipv6-normalize","version":"1.0.0","description":"ipv6-normalize","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"Po-Ying Chen","email":"poying.me@gmail.com","url":"陳柏穎"},"license":"MIT","repository":{"type":"git","url":"https://github.com/poying/ipv6-normalize.git"},"bugs":{"url":"https://github.com/poying/ipv6-normalize/issues"},"homepage":"https://github.com/poying/ipv6-normalize","gitHead":"36dceaa1c78e4fa080cd6bcae9280021ed7f7d2e","_id":"ipv6-normalize@1.0.0","_shasum":"3f72adcb79b5022b8db9235c920d193495044c93","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"poying","email":"poying.me@gmail.com"},"maintainers":[{"name":"poying","email":"poying.me@gmail.com"}],"dist":{"shasum":"3f72adcb79b5022b8db9235c920d193495044c93","tarball":"http://registry-npm.ywwl.com/ipv6-normalize/download/ipv6-normalize-1.0.0.tgz","integrity":"sha512-R3plX6lhFrF5UOquJ8UMD4hUyWOwsPcbehdntFF47GgUzpwS/vfy+REIstXPvsFqq2+gaVLY2YJiv42U4LQ+Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVDyRBsvJswLi9WkS2oWFDCcc02SwLrE+/SAwE2sGj0AiEAs8bOnyaXGzWmBjjXLJ76N3J/6Wh5MSsl/9LO5RK6nDg="}],"size":1849,"noattachment":false,"key":"/ipv6-normalize/-/ipv6-normalize-1.0.0.tgz"},"directories":{},"publish_time":1429666714637,"_cnpm_publish_time":1429666714637}},"readme":"ipv6-normalize\n==============\n\n```bash\n$ npm i --save ipv6-normalize\n```\n\nExtract `bestPresentation` function from [URI.js/src/IPv6.js](https://github.com/medialize/URI.js) into independent module.\n\n```javascript\n'use strict';\n\nvar assert = require('assert');\nvar n = require('./');\n\nassert(n('2001:db8:0:0:0:0:cafe:1111') === '2001:db8::cafe:1111');\nassert(n('2001:db8::a:1:2:3:4') === '2001:db8:0:a:1:2:3:4');\nassert(n('2001:0DB8:AAAA:0000:0000:0000:0000:000C') === '2001:db8:aaaa::c');\nassert(n('2001:db8::1:0:0:0:4') === '2001:db8:0:1::4');\n```\n\n## License\n\nThe MIT License (MIT)\n\n[http://poying.mit-license.org/](http://poying.mit-license.org/)\n","_attachments":{},"homepage":"https://github.com/poying/ipv6-normalize","bugs":{"url":"https://github.com/poying/ipv6-normalize/issues"},"license":"MIT"}