{"name":"private-ip","version":"2.2.1","description":"Check if IP address is private.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/frenchbread/private-ip.git"},"bugs":{"url":"https://github.com/frenchbread/private-ip/issues"},"homepage":"https://github.com/frenchbread/private-ip#readme","authors":["Damir Mustafin <frenchthebread@gmail.com>","Sick.Codes <https://twitter.com/sickcodes>","John Jackson <https://twitter.com/johnjhacking>","Nick Sahler <https://twitter.com/tensor_bodega>"],"contributors":[{"name":"Harold Hunt","url":"https://www.linkedin.com/in/huntharo/"},{"name":"Aravindha Hariharan M","url":"https://www.linkedin.com/in/aravindha1234u/"}],"license":"MIT","scripts":{"build":"npm run clean && ./node_modules/.bin/babel src --out-dir lib","clean":"rimraf ./lib","test":"npm run build && ava","prepublish":"npm run build"},"keywords":["ip","address","private","netmask","localhost","lan"],"devDependencies":{"ava":"^3.15.0","babel-cli":"^6.26.0","rimraf":"^3.0.2"},"dependencies":{"ip-regex":"^4.3.0","netmask":"^2.0.2"},"gitHead":"b1277359ab4c3e72f2f5bec5d0b2c6493e2606c6","_id":"private-ip@2.2.1","_nodeVersion":"15.0.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-jN1WT/br/VNW9xEcwHr6DjtOKxQ5qOIqmh7o+co2TWgq56pZJw99iO3UT1tWdfgsQiyK9FqG4ji3ykwpjFqITA==","shasum":"4fe167d04e12eca5c67cdcbd3224e86b38c79253","tarball":"http://registry-npm.ywwl.com/private-ip/download/private-ip-2.2.1.tgz","fileCount":7,"unpackedSize":9562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeTUOCRA9TVsSAnZWagAA1fUP/jbqtushciA2mwD4NCk2\nDlb9DjqZ0FaC/YlLTrBK6IVsA7f+u4yuSBEkrLWF6HS/u4Zg1VinEc1W9Aef\nZl02QPQykyVcHPDqczBEVJ3TpQuy7WRfS9wN+bXCw9SiJ7CJMYomV80ntElC\nhnStsRGnH4HU88pfKK8mSPWMZXSM3qTKW995ju45H4lglgGptbp+yRW5umZ7\nQiJf5pwwbzIB8YDDRkuxPNl5H1Ea0Z6L27Rk2Ef78uf2A8L4q2ReUiA4Z4IJ\n6KgaSzrf+ynWCEcjktLCXdG+R5U07YMrte05ppKu9c/AQgIZaPWEwtq+6fkM\ngAMNa20ErCwRfAkZIsnj5wBDsJQ5314ePRNF5tbnrEf/8Wo4D6ygXCKRiSJb\n0bjFm15xLQFnYy+0snZBqxPWPmfo/a7lCVq+hBljwLzKKCgFbcqyurQino43\nULrgMee4bKFOWkAMdz2kf2tZNb4IlKSIL2GmJAY8kIqX/B8kljr/VWgL51pE\ntOaNmjZr2hAzi1pCEVw4GjRKVve3eTHb/TaZqRfR9VQU/6KUNh11EvobMOxU\nPXHTupZaMtJ4Youv42wTQV9Z9A9/adqQjV6yRnAMbSB38CXReYk7v0fTC2Wb\nMMpx18Fzf3osP727+PdQcWjiH3+cq7lOae7NICSOEIzvTLabW7Q1aPxhbo6O\n1aZO\r\n=e9dO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQj0LeVfFcheC8Jif5Alo7s2lJEAJeeh8y7qaeq2R57wIgaI7xkvaujFCyFFolRsSZfNDJLN4sTlvlSTevUvD46jg="}],"size":3223,"noattachment":false,"key":"/private-ip/-/private-ip-2.2.1.tgz"},"_npmUser":{"name":"frenchbread","email":"frenchthebread@gmail.com"},"directories":{},"maintainers":[{"name":"frenchbread","email":"frenchthebread@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/private-ip_2.2.1_1618556174408_0.7530928053106927"},"_hasShrinkwrap":false,"readme":"private-ip\n--\n\n> Check if IP address is private.\n\n### badges\n\n[![huntr](https://cdn.huntr.dev/huntr_security_badge_mono.svg)](https://huntr.dev)\n\n### Installation\n\n```bash\n❯ npm install private-ip --save\n\nor\n\n❯ yarn add private-ip\n```\n\n### Usage\n\n```js\nimport is_ip_private from 'private-ip'\n\nis_ip_private('10.0.0.0')\n// => true\n\nis_ip_private('101.0.26.90')\n// => false\n\nis_ip_private('not.an.ip.com')\n// => undefined\n\n```\n\n### Development\n\n##### Tests\n\n```bash\n$ yarn run test\n```\n\n##### Build\n\n```bash\n$ yarn run build\n```\n\n### Authors\n\n- Damir Mustafin [@frenchbread](https://github.com/frenchbread)\n- Sick.Codes [@sickcodes](https://github.com/sickcodes) - [https://twitter.com/sickcodes](https://twitter.com/sickcodes)\n- John Jackson [@johnjhacking](https://github.com/johnjhacking) - [https://twitter.com/johnjhacking](https://twitter.com/johnjhacking)\n- Nick Sahler [@nicksahler](https://github.com/nicksahler) - [https://twitter.com/tensor_bodega](https://twitter.com/tensor_bodega)\n\n### Credits\n\n[https://github.com/frenchbread/private-ip/blob/master/CREDITS.md](https://github.com/frenchbread/private-ip/blob/master/CREDITS.md)\n\n### License\n[MIT](https://github.com/frenchbread/private-ip/blob/master/LICENSE)\n\n### IANA Reserved IP list\n\nhttps://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry-1.csv\n","publish_time":1618556174584,"_cnpm_publish_time":1618556174584,"dist-tags":{"latest":"3.0.2"}}