isipright
v1.0.8
Published
check ip is right
Downloads
2
Readme
check ip is right.
Usage
npm install isipright
var isipright = require('isipright')
isipright.check('127.0.0.1') // return ture
isipright.check(['127.0.0.1', '11.11.11.11']) // return true
isipright.check(['127.0.0.1', '11.11.a1.11']) // return false
isipright.check(['127.0.1', '11.11.11.11']) // return false
Test
node test/test.js
LICENSE
MIT