private-ip
Check if IP address is private.
badges
![huntr](https://cdn.huntr.dev/huntr_security_badge_mono.svg)
Installation
❯ npm install private-ip --save
or
❯ yarn add private-ip
Usage
const is_ip_private = require('private-ip')
is_ip_private('10.0.0.0')
is_ip_private('101.0.26.90')
is_ip_private('not.an.ip.com')
Development
Tests
$ yarn run test
Build
$ yarn run build
Authors
Credits
https://github.com/frenchbread/private-ip/blob/master/CREDITS.md
License
MIT
IANA Reserved IP list
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry-1.csv