{"name":"private-ip","version":"3.0.0","description":"Check if IP address is private.","exports":"./index.js","type":"module","types":"lib/index.d.ts","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/typescript/bin/tsc --outDir lib","clean":"rimraf ./lib","test":"npm run build && ava","prepublish":"npm run build"},"keywords":["ip","ipv4","ipv6","address","private","netmask","localhost","lan"],"devDependencies":{"@types/netmask":"^1.0.30","ava":"^5.0.1","rimraf":"^3.0.2","typescript":"^4.8.4"},"dependencies":{"@chainsafe/is-ip":"^2.0.1","ip-regex":"^5.0.0","ipaddr.js":"^2.0.1","netmask":"^2.0.2"},"engines":{"node":">=14.16"},"gitHead":"5568f2c4063fb076fa544a26b4569bb1cb6f4015","_id":"private-ip@3.0.0","_nodeVersion":"19.0.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HkMBs4nMtrP+cvcw0bDi2BAZIGgiKI4Zq8Oc+dMqNBpHS8iGL4+WO/pRtc8Bwnv9rjnV0QwMDwEBymFtqv7Kww==","shasum":"a65d10e2db06f6bb2f97f716f1a8976a3460a4a6","tarball":"http://registry-npm.ywwl.com/private-ip/download/private-ip-3.0.0.tgz","fileCount":10,"unpackedSize":14894,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYt5cymUf8G5mHypq6TCk3yVvtsF71HAfED34F+gacRAiB1k7Co88kgn0uZsFJEzidcUN28W+OlhZQp6/Uz3dkWcw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcNleACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjiQ//f+u8FqK9/P29IaL4nVILZ5UogeEv1UYZ0kjq9Gzir/U3A22s\r\nRmoOgI18dG7UuBNZ56dpDTCI74lUpXAQQvNxkb+qXnxY8WDqpMnMXMPjAQMt\r\nJLCQtXLv0bSBWG7XEYS1YJFFrbFmBfMdvtETnpmyKUabc6EEy5LnGwaglWG2\r\nAeDab4bK4lWECW+Cc7t3BHCF4PzpLinSOvgrRCln+SpQNNrGLpnVBns43Dql\r\nObX3/h4VBWATFANqYbaIRM/+bx0W3CWd35P+1EbdLLAkIHNr4nNJAFmQGXhB\r\n4Lo8YN1RoiaT0oxvShRuCY23EV1nKTom69LWaP2f2vj5vi0gVpEvFyMHo8U8\r\neRb6AggL4ZdepB0dYdhv7+HhiCAcml8AO2jJfEjALI021sINBi8JkhuGpA2E\r\n/lAjRW8BL4EZyqxH1HtkSeiw/iEsn8rOPFMkntU8wtylW72oHW+n6FbDch7b\r\nU/v0LGbHj1Co+TV6fntEOZhJ73ber1YHb+arpnw/lN9Z+KNhLMM18ze/zd4i\r\nws3r8pjz79bVWRt/zQODPM6gL4txJSDivG2pTsXGlDneyfhGS8A8EKgctoJp\r\n7UlesQ/yygs5dyZcxVAmi52X2+4q8NYaF+E7PqBGslW0dh2cx0Ix7W/Kz3Z+\r\n7O1TQl1RsP0bSXFnQc6nzFrkpFXiVzh0LT4=\r\n=uIu+\r\n-----END PGP SIGNATURE-----\r\n","size":3837,"noattachment":false,"key":"/private-ip/-/private-ip-3.0.0.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_3.0.0_1668340062409_0.9220624521814038"},"_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":1668340062556,"_cnpm_publish_time":1668340062556,"dist-tags":{"latest":"3.0.2"}}