0.1.0 • Published 9 years ago
ms-to-moment v0.1.0
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
0.1.0
9 years ago