{"name":"bogon","version":"1.3.0","description":"Check if an IP is a bogon","main":"index.js","scripts":{"test":"standard && brittle test.mjs"},"dependencies":{"compact-encoding":"^3.0.0","compact-encoding-net":"^1.2.0"},"devDependencies":{"brittle":"^3.0.4","nanobench":"^2.1.1","standard":"^17.0.0"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/bogon.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/bogon/issues"},"homepage":"https://github.com/mafintosh/bogon","gitHead":"be27f88102917aa85accc42b906b4059f09c72d4","_id":"bogon@1.3.0","_nodeVersion":"24.13.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-04tu0G/v0f2HPuQlSfhO635WwHDBCaITJ490rhxH9ttUlgPqOirZVKV02YB6NvPf5VkmbqJCm3bnZwrPk/eDSg==","shasum":"5e0bbb1cc1ce62202ae72cb003f62bbce4fd70fd","tarball":"http://registry-npm.ywwl.com/bogon/download/bogon-1.3.0.tgz","fileCount":7,"unpackedSize":8076,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEE5Lbj0/aTLRbUmHBhTJaD8twjiPTz52bAa6sRvHbMBAiEAqWnjiBhp1pYTIvz8MRgRp7TEVj+G9K2Fa2ppVn3BoAg="}],"size":3199,"noattachment":false,"key":"/bogon/-/bogon-1.3.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bogon_1.3.0_1778000702665_0.6317110885578281"},"_hasShrinkwrap":false,"readme":"# bogon\n\nCheck if an IP is a bogon\n\n```\nnpm install bogon\n```\n\nhttps://ipinfo.io/bogon\n\n\n## Usage\n\n``` js\nconst bogon = require('bogon')\n\nconsole.log(bogon('192.168.0.1')) // true\nconsole.log(bogon('8.8.8.8')) // false\n```\n\nAs a utility it also exposes an `isPrivate` helper\nto detect if a bogon IP is a private IP address on a local network.\n\n``` js\nconsole.log(bogon.isPrivate('192.168.0.1')) // true\nconsole.log(bogon('224.0.1.1')) // true\nconsole.log(bogon.isPrivate('224.0.1.1')) // false\n```\n\n## License\n\nMIT\n","publish_time":1778000702845,"_cnpm_publish_time":1778000702845,"dist-tags":{"latest":"1.3.0"}}