wno

0.0.2 • Public • Published

WNO

npm travis npm coverage

Installation

npm install wno

Functions

Name Desc
ipv42int Convert IPV4 to INT
int2ipv4 Convert Int to IPV4
getTimestamp Get Unix Timestamp

Usage

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

Contributors

 project  : wno
 repo age : 2 hours
 active   : 1 days
 commits  : 3
 files    : 11
 authors  : 
     3  Willin Wang  100.0%

LICENSE

MIT

Package Sidebar

Install

npm i wno

Weekly Downloads

5

Version

0.0.2

License

MIT

Last publish

Collaborators

  • willin