{
  "_args": [
    [
      {
        "raw": "ms@0.7.2",
        "scope": null,
        "escapedName": "ms",
        "name": "ms",
        "rawSpec": "0.7.2",
        "spec": "0.7.2",
        "type": "version"
      },
      "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/debug"
    ]
  ],
  "_from": "ms@0.7.2",
  "_id": "ms@0.7.2",
  "_inCache": true,
  "_location": "/npm-check-updates/ms",
  "_nodeVersion": "6.8.0",
  "_npmOperationalInternal": {
    "host": "packages-18-east.internal.npmjs.com",
    "tmp": "tmp/ms-0.7.2.tgz_1477383407940_0.4743474116548896"
  },
  "_npmUser": {
    "name": "leo",
    "email": "leo@zeit.co"
  },
  "_npmVersion": "3.10.8",
  "_phantomChildren": {},
  "_requested": {
    "raw": "ms@0.7.2",
    "scope": null,
    "escapedName": "ms",
    "name": "ms",
    "rawSpec": "0.7.2",
    "spec": "0.7.2",
    "type": "version"
  },
  "_requiredBy": [
    "/npm-check-updates/debug"
  ],
  "_resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
  "_shasum": "ae25cf2512b3885a1d95d7f037868d8431124765",
  "_shrinkwrap": null,
  "_spec": "ms@0.7.2",
  "_where": "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/debug",
  "bugs": {
    "url": "https://github.com/zeit/ms/issues"
  },
  "component": {
    "scripts": {
      "ms/index.js": "index.js"
    }
  },
  "dependencies": {},
  "description": "Tiny milisecond conversion utility",
  "devDependencies": {
    "expect.js": "^0.3.1",
    "mocha": "^3.0.2",
    "serve": "^1.4.0",
    "xo": "^0.17.0"
  },
  "directories": {},
  "dist": {
    "shasum": "ae25cf2512b3885a1d95d7f037868d8431124765",
    "tarball": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "ac92a7e0790ba2622a74d9d60690ca0d2c070a45",
  "homepage": "https://github.com/zeit/ms#readme",
  "license": "MIT",
  "main": "./index",
  "maintainers": [
    {
      "name": "leo",
      "email": "leo@zeit.co"
    },
    {
      "name": "rauchg",
      "email": "rauchg@gmail.com"
    }
  ],
  "name": "ms",
  "optionalDependencies": {},
  "readme": "# ms\n\n[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![Slack Channel](https://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)\n\nUse this package to easily convert various time formats to milliseconds.\n\n## Examples\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('1y')      // 31557600000\nms('100')     // 100\n```\n\n### Convert from milliseconds\n\n```js\nms(60000)             // \"1m\"\nms(2 * 60000)         // \"2m\"\nms(ms('10 hours'))    // \"10h\"\n```\n\n### Time format written-out\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## Features\n\n- Works both in [node](https://nodejs.org) and in the browser.\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 a number (e.g.: it returns `100` for `'100'`).\n- If you pass a string with a number and a valid unit, the number of equivalent ms is returned.\n\n## Caught a bug?\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Link the package to the global module directory: `npm link`\n3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, node will now use your clone of ms!\n\nAs always, you can run the tests using: `npm test`\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zeit/ms.git"
  },
  "scripts": {
    "test": "xo && mocha test/index.js",
    "test-browser": "serve ./test"
  },
  "version": "0.7.2",
  "xo": {
    "space": true,
    "semicolon": false,
    "envs": [
      "mocha"
    ],
    "rules": {
      "complexity": 0
    }
  }
}
