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));
Convert IP addresses to integers and vice versa
Convert IP addresses to integers and vice versa.
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));
Convert IP addresses to integers and vice versa
MIT License