time-tool
1.0.2 • Public • Published Time-tool
API
ns
Get ns string
const timeTool = require('time-tool');
const ns = timeTool.ns();
us
Get us string
const timeTool = require('time-tool');
const us = timeTool.us();
minus
Minus timestamp, return integer
-
a
timestamp string
-
b
timestamp string
const timeTool = require('time-tool');
timeTool.minus('1480513813865', '1480113813864')
Package Sidebar
Install
Weekly Downloads