3.0.2 • Published 3 months ago
private-ip v3.0.2
private-ip
Check if IP address is private.
badges
Installation
❯ npm install private-ip --save
or
❯ yarn add private-ip
Usage
import is_ip_private from 'private-ip'
is_ip_private('10.0.0.0')
// => true
is_ip_private('101.0.26.90')
// => false
is_ip_private('not.an.ip.com')
// => undefined
Development
Tests
$ yarn run test
Build
$ yarn run build
Authors
- Damir Mustafin @frenchbread
- Sick.Codes @sickcodes - https://twitter.com/sickcodes
- John Jackson @johnjhacking - https://twitter.com/johnjhacking
- Nick Sahler @nicksahler - https://twitter.com/tensor_bodega
Credits
https://github.com/frenchbread/private-ip/blob/master/CREDITS.md
License
IANA Reserved IP list
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry-1.csv
3.0.2
3 months ago
3.0.1
10 months ago
3.0.0
1 year ago
2.3.4
2 years ago
2.3.2
2 years ago
2.3.3
2 years ago
2.3.1
2 years ago
2.3.0
3 years ago
2.2.1
3 years ago
2.2.0
3 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago
0.1.0
8 years ago
0.0.1
8 years ago