node-iptools

0.1.3 • Public • Published

node-iptools NPM versionBuild Status

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.

Readme

Keywords

Package Sidebar

Install

npm i node-iptools

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • j3lte