ms-to-moment

0.1.0 • Public • Published

ms-to-moment Build Status

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

npm i ms-to-moment

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • andrepolischuk