npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

private-ip

1.0.5 • Public • Published

private-ip

Check if IP address is private.

NPM

NPM

Installation

$ npm install private-ip --save
 
or
 
$ yarn add private-ip

Usage

 
import isIpPrivate from 'private-ip';
 
isIpPrivate('10.0.0.0');
// => true
 
isIpPrivate('101.0.26.90');
// => false
 

Dev

Tests
$ npm run test
Build
$ npm run build

Author

License

MIT

install

npm i private-ip

Downloadsweekly downloads

1,163

version

1.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability