{"_id":"ip","_rev":"3504748","name":"ip","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","dist-tags":{"latest":"2.0.1","stable":"0.1.0"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"time":{"modified":"2026-03-04T17:04:38.000Z","created":"2012-08-15T09:10:05.826Z","2.0.1":"2024-02-19T05:13:16.771Z","1.1.9":"2024-02-19T04:29:33.162Z","1.1.8":"2022-05-11T03:08:45.757Z","1.1.7":"2022-05-10T16:27:19.506Z","2.0.0":"2022-05-10T04:50:54.629Z","1.1.6":"2022-05-10T03:53:33.474Z","1.1.5":"2017-03-04T01:38:26.801Z","1.1.4":"2016-10-31T18:38:52.764Z","1.1.3":"2016-05-06T22:46:30.140Z","1.1.2":"2016-03-04T19:29:51.260Z","1.1.1":"2016-03-02T14:30:56.459Z","1.1.0":"2015-11-18T16:27:55.161Z","1.0.2":"2015-10-29T01:44:50.765Z","1.0.1":"2015-09-10T01:42:39.890Z","1.0.0":"2015-09-05T03:22:57.210Z","0.3.3":"2015-06-01T16:28:09.267Z","0.3.2":"2014-09-23T10:15:34.483Z","0.3.1":"2014-07-31T18:50:03.280Z","0.3.0":"2014-02-02T20:08:33.857Z","0.2.0":"2014-01-18T23:06:09.577Z","0.1.0":"2013-05-29T09:37:54.181Z","0.0.5":"2013-02-20T11:15:10.430Z","0.0.4":"2013-02-11T09:21:41.721Z","0.0.3":"2013-02-09T10:50:57.996Z","0.0.2":"2013-02-03T12:27:06.756Z","0.0.1":"2012-08-15T09:10:05.826Z"},"users":{"liveinjs":true,"hij1nx":true,"humantriangle":true,"gammasoft":true,"t1st3":true,"kewin":true,"robksawyer":true,"chengen":true,"amrav":true,"sametsisartenep":true,"itonyyo":true,"dac2205":true,"tinyhill":true,"jerrywu":true,"onheiron":true,"mikepol":true,"zedyu":true,"joaocunha":true,"kolomiichenko":true,"evanyeung":true,"jensnilsson":true,"jasonwang1888":true,"ahme-t":true,"weiffert":true,"wkaifang":true,"thotk":true,"yoking":true,"ghostcode521":true,"psychollama":true,"antixrist":true,"vdeturckheim":true,"shanewholloway":true,"wangnan0610":true,"maintao":true,"programmer.severson":true,"guzgarcia":true,"svstanev":true,"xiaochao":true,"princetoad":true,"comandan":true,"monjer":true,"sopepos":true,"jeremyscalpello":true,"chirag_purohit71085":true,"chhetrisushil":true,"luckyluke":true,"xuu":true,"tpkn":true,"adrtho4":true,"zuojiang":true,"bluelovers":true,"felipebergamin":true,"cedx":true,"yinfxs":true,"thouky":true,"ganeshkbhat":true},"author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"versions":{"2.0.1":{"name":"ip","version":"2.0.1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"eslint":"^8.15.0","mocha":"^10.0.0"},"scripts":{"lint":"eslint lib/*.js test/*.js","test":"npm run lint && mocha --reporter spec test/*-test.js","fix":"npm run lint -- --fix"},"license":"MIT","_id":"ip@2.0.1","gitHead":"3b0994a74eca51df01f08c40d6a65ba0e1845d04","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"e8f3595d33a3ea66490204234b77636965307105","size":5212,"noattachment":false,"key":"/ip/-/ip-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-2.0.1.tgz"},"_npmUser":{"name":"indutny","email":"blackhole@livebox.sh"},"directories":{},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ip_2.0.1_1708319596561_0.9994402305530901"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-19T05:13:16.771Z","publish_time":1708319596771,"_source_registry_name":"default","_cnpm_publish_time":1708319596771},"1.1.9":{"name":"ip","version":"1.1.9","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"eslint":"^8.15.0","mocha":"^10.0.0"},"scripts":{"lint":"eslint lib/*.js test/*.js","test":"npm run lint && mocha --reporter spec test/*-test.js","fix":"npm run lint -- --fix"},"license":"MIT","_id":"ip@1.1.9","gitHead":"1ecbf2fd8c0cc85e44c3b587d2de641f50dc0217","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"8dfbcc99a754d07f425310b86a99546b1151e396","size":5206,"noattachment":false,"key":"/ip/-/ip-1.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.9.tgz"},"_npmUser":{"name":"indutny","email":"blackhole@livebox.sh"},"directories":{},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ip_1.1.9_1708316973034_0.23187758967127925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-19T04:29:33.162Z","publish_time":1708316973162,"_source_registry_name":"default","_cnpm_publish_time":1708316973162},"1.1.8":{"name":"ip","version":"1.1.8","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"eslint":"^8.15.0","mocha":"^10.0.0"},"scripts":{"lint":"eslint lib/*.js test/*.js","test":"npm run lint && mocha --reporter spec test/*-test.js","fix":"npm run lint -- --fix"},"license":"MIT","gitHead":"5dc3b2f3f4b4690fa9a918fa5085b6fca9979fca","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.8","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"ae05948f6b075435ed3307acce04629da8cdbf48","size":4542,"noattachment":false,"key":"/ip/-/ip-1.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.8.tgz"},"_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"directories":{},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ip_1.1.8_1652238525605_0.04399027256870358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-11T03:13:00.061Z","publish_time":1652238525757,"_cnpm_publish_time":1652238525757},"1.1.7":{"name":"ip","version":"1.1.7","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"43e442366bf5a93493c8c4c36736f87d675b0c3d","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.5","_shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","size":10014,"noattachment":false,"key":"/ip/-/ip-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.7.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.5.tgz_1488591504778_0.018333946587517858"},"directories":{},"publish_time":1652200039506,"_hasShrinkwrap":false,"_cnpm_publish_time":1652200039506,"_cnpmcore_publish_time":"2021-12-13T11:24:06.472Z","deprecated":"[WARNING] Use 1.1.5 instead of 1.1.7, reason: https://github.com/indutny/node-ip/issues/115"},"2.0.0":{"name":"ip","version":"2.0.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"eslint":"^8.15.0","mocha":"^10.0.0"},"scripts":{"lint":"eslint lib/*.js test/*.js","test":"npm run lint && mocha --reporter spec test/*-test.js","fix":"npm run lint -- --fix"},"license":"MIT","gitHead":"4b2f4e7cb52a723fd286611385487afe85f01579","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"4cf4ab182fee2314c75ede1276f8c80b479936da","size":4555,"noattachment":false,"key":"/ip/-/ip-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-2.0.0.tgz"},"_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"directories":{},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ip_2.0.0_1652158254472_0.6277438369203918"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-10T04:51:00.428Z","publish_time":1652158254629,"_cnpm_publish_time":1652158254629},"1.1.6":{"name":"ip","version":"1.1.6","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"43e442366bf5a93493c8c4c36736f87d675b0c3d","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.5","_shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","size":10014,"noattachment":false,"key":"/ip/-/ip-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.6.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.5.tgz_1488591504778_0.018333946587517858"},"directories":{},"publish_time":1652154813474,"_hasShrinkwrap":false,"_cnpm_publish_time":1652154813474,"_cnpmcore_publish_time":"2021-12-13T11:24:06.472Z","deprecated":"[WARNING] Use 1.1.5 instead of 1.1.6, reason: https://github.com/indutny/node-ip/issues/115"},"1.1.5":{"name":"ip","version":"1.1.5","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"43e442366bf5a93493c8c4c36736f87d675b0c3d","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.5","_shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"bdded70114290828c0a039e72ef25f5aaec4354a","size":10014,"noattachment":false,"key":"/ip/-/ip-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.5.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.5.tgz_1488591504778_0.018333946587517858"},"directories":{},"publish_time":1488591506801,"_cnpm_publish_time":1488591506801,"_hasShrinkwrap":false},"1.1.4":{"name":"ip","version":"1.1.4","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"d413771ed7497ce61ddc5071a44549e2804482bf","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.4","_shasum":"de8247ffef940451832550fba284945e6e039bfb","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"de8247ffef940451832550fba284945e6e039bfb","size":9960,"noattachment":false,"key":"/ip/-/ip-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.4.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.4.tgz_1477939130667_0.25871887686662376"},"directories":{},"publish_time":1477939132764,"_cnpm_publish_time":1477939132764,"_hasShrinkwrap":false},"1.1.3":{"name":"ip","version":"1.1.3","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"7831a9fa1aa42b40b5693e643040e68d2b0c0813","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.3","_shasum":"12b16294a38925486d618a1103506e4eb4f8b296","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"12b16294a38925486d618a1103506e4eb4f8b296","size":9940,"noattachment":false,"key":"/ip/-/ip-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.3.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.3.tgz_1462574789664_0.8987950989976525"},"directories":{},"publish_time":1462574790140,"_cnpm_publish_time":1462574790140,"_hasShrinkwrap":false},"1.1.2":{"name":"ip","version":"1.1.2","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"ed9b6cada5ae340229dbd428401a7caaa7082f73","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.2","_shasum":"a05ba664479611d0229fd21d2572fec4505f778e","_from":".","_npmVersion":"3.7.3","_nodeVersion":"4.2.2","_npmUser":{"name":"indexzero","email":"charlie.robbins@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"a05ba664479611d0229fd21d2572fec4505f778e","size":9710,"noattachment":false,"key":"/ip/-/ip-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/ip-1.1.2.tgz_1457119789796_0.21723865694366395"},"directories":{},"publish_time":1457119791260,"_cnpm_publish_time":1457119791260,"_hasShrinkwrap":false},"1.1.1":{"name":"ip","version":"1.1.1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"580938b8ae94f689eb15b274ff11f57e2d84bff5","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.1","_shasum":"239171b6f353f9409827bcf9315e732d930e4199","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"239171b6f353f9409827bcf9315e732d930e4199","size":9687,"noattachment":false,"key":"/ip/-/ip-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.1.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ip-1.1.1.tgz_1456929054086_0.15509966993704438"},"directories":{},"publish_time":1456929056459,"_cnpm_publish_time":1456929056459,"_hasShrinkwrap":false},"1.1.0":{"name":"ip","version":"1.1.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js","fix":"jscs lib/*.js test/*.js --fix"},"license":"MIT","gitHead":"52f4ad3102669633f4d5585ac9c3e4da4e8379c6","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.1.0","_shasum":"a893493e83af47000e2f553f1176194c6050240e","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"a893493e83af47000e2f553f1176194c6050240e","size":9749,"noattachment":false,"key":"/ip/-/ip-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.1.0.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1447864075161,"_cnpm_publish_time":1447864075161,"_hasShrinkwrap":false},"1.0.2":{"name":"ip","version":"1.0.2","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js"},"license":"MIT","gitHead":"f4d0ea6ea9eee10914f9d70c5be4d0997043b9d3","description":"[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.0.2","_shasum":"32e29159fc12840fbc5bca84c3cf0d80c8f5ab58","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"dist":{"shasum":"32e29159fc12840fbc5bca84c3cf0d80c8f5ab58","size":9528,"noattachment":false,"key":"/ip/-/ip-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.0.2.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1446083090765,"_cnpm_publish_time":1446083090765,"_hasShrinkwrap":false},"1.0.1":{"name":"ip","version":"1.0.1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js"},"license":"MIT","gitHead":"5fa3ae74c70f2af2f3bc1b8784685c5bc004d468","description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.0.1","_shasum":"c7e356cdea225ae71b36d70f2e71a92ba4e42590","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"c7e356cdea225ae71b36d70f2e71a92ba4e42590","size":8424,"noattachment":false,"key":"/ip/-/ip-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.0.1.tgz"},"directories":{},"publish_time":1441849359890,"_cnpm_publish_time":1441849359890,"_hasShrinkwrap":false},"1.0.0":{"name":"ip","version":"1.0.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"jscs":"^2.1.1","jshint":"^2.8.0","mocha":"~1.3.2"},"scripts":{"test":"jscs lib/*.js test/*.js && jshint lib/*.js && mocha --reporter spec test/*-test.js"},"license":"MIT","gitHead":"2c5b85dc46076551d051ea9010088d9ecb593a78","description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@1.0.0","_shasum":"fc627aca013cfe00921743cf0a291563f4a3c90a","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"fc627aca013cfe00921743cf0a291563f4a3c90a","size":8405,"noattachment":false,"key":"/ip/-/ip-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-1.0.0.tgz"},"directories":{},"publish_time":1441423377210,"_cnpm_publish_time":1441423377210,"_hasShrinkwrap":false},"0.3.3":{"name":"ip","version":"0.3.3","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"license":"MIT","gitHead":"7798e2d222718087863d8a5a99e3c02f3a30e2b9","description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@0.3.3","_shasum":"8ee8309e92f0b040d287f72efaca1a21702d3fb4","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"8ee8309e92f0b040d287f72efaca1a21702d3fb4","size":5805,"noattachment":false,"key":"/ip/-/ip-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.3.3.tgz"},"directories":{},"publish_time":1433176089267,"_cnpm_publish_time":1433176089267,"_hasShrinkwrap":false},"0.3.2":{"name":"ip","version":"0.3.2","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"gitHead":"978e13d19531c9d9172044654df9dfb7ed116e45","description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@0.3.2","_shasum":"7d5ed34326688b36b6ab81f1865ea8266c28f0db","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"7d5ed34326688b36b6ab81f1865ea8266c28f0db","size":6413,"noattachment":false,"key":"/ip/-/ip-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.3.2.tgz"},"directories":{},"publish_time":1411467334483,"_cnpm_publish_time":1411467334483,"_hasShrinkwrap":false},"0.3.1":{"name":"ip","version":"0.3.1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@0.3.1","_shasum":"d0871c6ee08449b081bb277fdd6c8ff5e6fc845b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"indutny","email":"fedor@indutny.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"dist":{"shasum":"d0871c6ee08449b081bb277fdd6c8ff5e6fc845b","size":6342,"noattachment":false,"key":"/ip/-/ip-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.3.1.tgz"},"directories":{},"publish_time":1406832603280,"_cnpm_publish_time":1406832603280,"_hasShrinkwrap":false},"0.3.0":{"name":"ip","version":"0.3.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@0.3.0","dist":{"shasum":"7a469fffa4e26e56d61b91056a40bf9dbdcd8a8b","size":6283,"noattachment":false,"key":"/ip/-/ip-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1391371713857,"_cnpm_publish_time":1391371713857,"_hasShrinkwrap":false},"0.2.0":{"name":"ip","version":"0.2.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","description":"IP address utilities for node.js","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"_id":"ip@0.2.0","dist":{"shasum":"41bbf4e945613464c9672034347583811375a88b","size":5517,"noattachment":false,"key":"/ip/-/ip-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1390086369577,"_cnpm_publish_time":1390086369577,"_hasShrinkwrap":false},"0.1.0":{"name":"ip","version":"0.1.0","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","_id":"ip@0.1.0","description":"IP address utilities for node.js","dist":{"shasum":"bf7fccc1608097ecf8e873152ca011234bd99a40","size":5463,"noattachment":false,"key":"/ip/-/ip-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1369820274181,"_cnpm_publish_time":1369820274181,"_hasShrinkwrap":false},"0.0.5":{"name":"ip","version":"0.0.5","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","_id":"ip@0.0.5","description":"IP address utilities for node.js","dist":{"shasum":"0b405f761a565e2af045cba09854e484dca97706","size":5211,"noattachment":false,"key":"/ip/-/ip-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.0.5.tgz"},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1361358910430,"_cnpm_publish_time":1361358910430,"_hasShrinkwrap":false},"0.0.4":{"name":"ip","version":"0.0.4","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","_id":"ip@0.0.4","description":"IP address utilities for node.js","dist":{"shasum":"1f4f02ea217bb01275817f30aef5b050b96412bb","size":5059,"noattachment":false,"key":"/ip/-/ip-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.0.4.tgz"},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1360574501721,"_cnpm_publish_time":1360574501721,"_hasShrinkwrap":false},"0.0.3":{"name":"ip","version":"0.0.3","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","_id":"ip@0.0.3","description":"IP address utilities for node.js","dist":{"shasum":"96cf8bbaf9e814c97f98c33946d5c4cf77a1d08d","size":4813,"noattachment":false,"key":"/ip/-/ip-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1360407057996,"_cnpm_publish_time":1360407057996,"_hasShrinkwrap":false},"0.0.2":{"name":"ip","version":"0.0.2","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"readmeFilename":"README.md","_id":"ip@0.0.2","description":"IP address utilities for node.js","dist":{"shasum":"d91c53d43030073e4b9fe3775c19d6e883b73ff7","size":4622,"noattachment":false,"key":"/ip/-/ip-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.3","_npmUser":{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1359894426756,"_cnpm_publish_time":1359894426756,"_hasShrinkwrap":false},"0.0.1":{"name":"ip","version":"0.0.1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"homepage":"https://github.com/indutny/node-ip","repository":{"type":"git","url":"http://github.com/indutny/node-ip.git"},"main":"lib/ip","devDependencies":{"mocha":"~1.3.2"},"scripts":{"test":"mocha --reporter spec test/*-test.js"},"_id":"ip@0.0.1","description":"IP address utilities for node.js","dist":{"shasum":"bbc68d7cc448560a63fbe99237a01bc50fdca7ec","size":3236,"noattachment":false,"key":"/ip/-/ip-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ip/download/ip-0.0.1.tgz"},"maintainers":[{"name":"bcbailey","email":"brad@memoryleak.org"},{"name":"fedor.indutny","email":"fedor.indutny@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"mmalecki","email":""}],"directories":{},"publish_time":1345021805826,"_cnpm_publish_time":1345021805826,"_hasShrinkwrap":false}},"readme":"# IP  \n[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)  \n\nIP address utilities for node.js\n\n## Installation\n\n###  npm\n```shell\nnpm install ip\n```\n\n### git\n\n```shell\ngit clone https://github.com/indutny/node-ip.git\n```\n  \n## Usage\nGet your ip address, compare ip addresses, validate ip addresses, etc.\n\n```js\nvar ip = require('ip');\n\nip.address() // my ip address\nip.isEqual('::1', '::0:1'); // true\nip.toBuffer('127.0.0.1') // Buffer([127, 0, 0, 1])\nip.toString(new Buffer([127, 0, 0, 1])) // 127.0.0.1\nip.fromPrefixLen(24) // 255.255.255.0\nip.mask('192.168.1.134', '255.255.255.0') // 192.168.1.0\nip.cidr('192.168.1.134/26') // 192.168.1.128\nip.not('255.255.255.0') // 0.0.0.255\nip.or('192.168.1.134', '0.0.0.255') // 192.168.1.255\nip.isPrivate('127.0.0.1') // true\nip.isV4Format('127.0.0.1'); // true\nip.isV6Format('::ffff:127.0.0.1'); // true\n\n// operate on buffers in-place\nvar buf = new Buffer(128);\nvar offset = 64;\nip.toBuffer('127.0.0.1', buf, offset);  // [127, 0, 0, 1] at offset 64\nip.toString(buf, offset, 4);            // '127.0.0.1'\n\n// subnet information\nip.subnet('192.168.1.134', '255.255.255.192')\n// { networkAddress: '192.168.1.128',\n//   firstAddress: '192.168.1.129',\n//   lastAddress: '192.168.1.190',\n//   broadcastAddress: '192.168.1.191',\n//   subnetMask: '255.255.255.192',\n//   subnetMaskLength: 26,\n//   numHosts: 62,\n//   length: 64,\n//   contains: function(addr){...} }\nip.cidrSubnet('192.168.1.134/26')\n// Same as previous.\n\n// range checking\nip.cidrSubnet('192.168.1.134/26').contains('192.168.1.190') // true\n\n\n// ipv4 long conversion\nip.toLong('127.0.0.1'); // 2130706433\nip.fromLong(2130706433); // '127.0.0.1'\n```\n\n### License\n\nThis software is licensed under the MIT License.\n\nCopyright Fedor Indutny, 2012.\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the\nfollowing conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\nNO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\nUSE OR OTHER DEALINGS IN THE SOFTWARE.\n","_attachments":{},"homepage":"https://github.com/indutny/node-ip","bugs":{"url":"https://github.com/indutny/node-ip/issues"},"license":"MIT"}