{ "name": "ms", "version": "0.3.0", "description": "Tiny ms conversion utility", "main": "./ms", "devDependencies": { "mocha": "*", "expect.js": "*", "serve": "*" }, "readme": "# ms.js: miliseconds conversion utility\n\n```js\nms('1d') // 86400000\nms('10h') // 36000000\nms('2h') // 7200000\nms('1m') // 60000\nms('5s') // 5000\nms('100') // 100\nms(100) // 100\n```\n\n```js\nms(60000) // \"1 minute\"\nms(2 * 60000) // \"2 minutes\"\nms(ms('10 hours')) // \"10 hours\"\n```\n\n- Node/Browser compatible. Published as `ms` in NPM.\n- If a number is supplied to `ms`, it returns it immediately.\n- If a string that contains the number is supplied, it returns it as\na number (e.g: it returns `100` for `'100'`).\n- If you pass a string with a number and a valid unit, the number of\nequivalent ms is returned.\n", "readmeFilename": "README.md", "_id": "ms@0.3.0", "_from": "ms@0.3.0" }