1.0.0 • Published 8 years ago

ip-from-range v1.0.0

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
8 years ago

A search for ip address from a range of ip's

// The ip-from-range provides for you a array of all ip addresses of a range

Basics usage

var ipfr = require('ip-from-range');
var arrIp = ipfr("192.168.0.1","192.168.0.100).getIpAddresses();
console.log(arrIp);
/**
* // Output should be
* 
* [
*   '192.168.0.1, 
*   '192.168.0.2',
*   '192.168.0.3',
*   ...
*   '192.168.0.99',
*   '192.168.0.100'
* ]
*/
1.0.0

8 years ago