Wonderful Number Converter for node.js and io.js
MIT License
npm install wno
Name | Desc |
---|---|
ipv42int | Convert IPV4 to INT |
int2ipv4 | Convert Int to IPV4 |
getTimestamp | Get Unix Timestamp |
var wno = require('wno');
console.log(wno.ipv42int('127.0.0.1'));
//2130706433
console.log(wno.int2ipv4(2130706433));
//'127.0.0.1'
console.log(wno.getTimestamp('2014-03-03 12:48:00'));
//1393822080
console.log(wno.getTimestamp());
//Now
project : wno
repo age : 2 hours
active : 1 days
commits : 3
files : 11
authors :
3 Willin Wang 100.0%
MIT