ms-to-moment
0.1.0 • Public • Published ms-to-moment
Calculation milliseconds before and after the moment
Install
npm install --save ms-to-moment
Usage
var msToMoment = require('ms-to-moment');
var date = new Date();
setTimeout(function() {
msToMoment(date); // 1000
}, 1000)
License
MIT
Package Sidebar
Install
Weekly Downloads