ipint
v0.0.2
Published
Convert IP addresses to integers and vice versa
Downloads
14
Readme
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));