node-iptools
v0.1.3
Published
IP Conversion tool for Node
Downloads
2
Readme
node-iptools
IP conversion tool for nodejs
Intall
Install with npm
$ npm i node-iptools --save
Usage
var ip = require('node-iptools');
console.log(ip(1).toIp()); // '0.0.0.1'
console.log(ip('0.0.0.1').toInt()); // 1
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
J.W. Lagendijk
License
Copyright © 2015-2015 J.W. Lagendijk Released under the MIT license.