timey

0.0.2 • Public • Published

Timey

Timey makes converting human-readable times to milliseconds easy and clean.

Installation

npm install timey

-or-

npm install ben-bradley/timey

Use

var ms = require('timey');

console.log(ms(10).years);  // => 315360000000
console.log(ms(10).y);      // => 315360000000

Related Projects

Version

  • 0.0.2 - Standardized plural/single/abbrvs
  • 0.0.1 - Initial

Package Sidebar

Install

npm i timey

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ben-bradley