Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
code / usr / share / code / resources / app / node_modules / ms / package.json
Size: Mime:
{
  "_args": [
    [
      "ms@https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
      "/vso/work/2/s"
    ]
  ],
  "_from": "ms@0.7.1",
  "_id": "ms@0.7.1",
  "_inCache": true,
  "_location": "/ms",
  "_phantomChildren": {},
  "_requested": {
    "name": "ms",
    "raw": "ms@https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
    "rawSpec": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/debug"
  ],
  "_resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
  "_shasum": "9cd13c03adbff25b65effde7ce864ee952017098",
  "_shrinkwrap": null,
  "_spec": "ms@https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
  "_where": "/vso/work/2/s",
  "bugs": {
    "url": "https://github.com/guille/ms.js/issues"
  },
  "component": {
    "scripts": {
      "ms/index.js": "index.js"
    }
  },
  "dependencies": {},
  "description": "Tiny ms conversion utility",
  "devDependencies": {
    "expect.js": "*",
    "mocha": "*",
    "serve": "*"
  },
  "homepage": "https://github.com/guille/ms.js#readme",
  "main": "./index",
  "name": "ms",
  "optionalDependencies": {},
  "readme": "# ms.js: miliseconds conversion utility\n\n```js\nms('2 days')  // 172800000\nms('1d')      // 86400000\nms('10h')     // 36000000\nms('2.5 hrs') // 9000000\nms('2h')      // 7200000\nms('1m')      // 60000\nms('5s')      // 5000\nms('100')     // 100\n```\n\n```js\nms(60000)             // \"1m\"\nms(2 * 60000)         // \"2m\"\nms(ms('10 hours'))    // \"10h\"\n```\n\n```js\nms(60000, { long: true })             // \"1 minute\"\nms(2 * 60000, { long: true })         // \"2 minutes\"\nms(ms('10 hours'), { long: true })    // \"10 hours\"\n```\n\n- Node/Browser compatible. Published as [`ms`](https://www.npmjs.org/package/ms) in [NPM](http://nodejs.org/download).\n- If a number is supplied to `ms`, a string with a unit is returned.\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\n## License\n\nMIT\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/guille/ms.js.git"
  },
  "version": "0.7.1"
}