ip4-to-int32

1.0.3 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ip4-to-int32

Weekly Downloads

3

Version

1.0.3

License

ISC

Last publish

Collaborators

  • elv1s77