ipint

0.0.2 • Public • Published

ipint

Convert IP addresses to integers and vice versa.

Usage

var ipint = require('ipint');
 
var ip = '174.36.207.186',
    int = ipint.ipToInt('174.36.207.186');
 
console.log(ip + ' => ' + int);
 
console.log(int + ' => ' + ipint.intToIp(int));

Readme

Keywords

Package Sidebar

Install

npm i ipint

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • mmalecki