wno

Wonderful Number Operator

Usage no npm install needed!

<script type="module">
  import wno from 'https://cdn.skypack.dev/wno';
</script>

README

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