ms / 0.7.1 last updated a year ago created on Dec 21st 2011
Install
npm install --save ms
Clone
git clone git@github.com:guille/ms.js.git
dependencies
No dependencies listed.
maintainers
versions
11 total
| 0.7.1 | a year ago | rauchg |
| 0.7.0 | 2 years ago | rauchg |
| 0.6.2 | 3 years ago | rauchg |
| 0.6.1 | 3 years ago | rauchg |
| 0.6.0 | 3 years ago | rauchg |
| 0.5.1 | 3 years ago | rauchg |
| 0.5.0 | 4 years ago | rauchg |
| 0.4.0 | 4 years ago | rauchg |
| 0.3.0 | 4 years ago | rauchg |
| 0.2.0 | 4 years ago | rauchg |
| 0.1.0 | 5 years ago | rauchg |
readme
ms.js: miliseconds conversion utility
- Node/Browser compatible. Published as
msin NPM. - If a number is supplied to
ms, a string with a unit is returned. - If a string that contains the number is supplied, it returns it as
a number (e.g: it returns
100for'100'). - If you pass a string with a number and a valid unit, the number of equivalent ms is returned.
License
MIT