ip4-to-int32
v1.0.3
Published
convert ipv4 address to 32 bit integer
Downloads
7
Readme
IPv4 to Int32 converter
A small library that converts ipv4 addresses to 32-bit integers
Installation
npm install ipv4-to-int32
Usage
var ipv4ToInt32 = require('ipv4-to-int32');
var formattedNum = ipv4ToInt32("128.32.10.1");
Output should be 2149583361
Tests
npm test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.