{
  "_args": [
    [
      {
        "raw": "mz@2.7.0",
        "scope": null,
        "escapedName": "mz",
        "name": "mz",
        "rawSpec": "2.7.0",
        "spec": "2.7.0",
        "type": "version"
      },
      "/home/zkochan/src/pnpm/packages/pnpm"
    ]
  ],
  "_from": "mz@2.7.0",
  "_id": "mz@2.7.0",
  "_inCache": true,
  "_location": "/mz",
  "_nodeVersion": "8.5.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/mz-2.7.0.tgz_1505325455363_0.5184209432918578"
  },
  "_npmUser": {
    "name": "jongleberry",
    "email": "jonathanrichardong@gmail.com"
  },
  "_npmVersion": "5.3.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "mz@2.7.0",
    "scope": null,
    "escapedName": "mz",
    "name": "mz",
    "rawSpec": "2.7.0",
    "spec": "2.7.0",
    "type": "version"
  },
  "_requiredBy": [
    "/",
    "/@pnpm/link-bins",
    "/@pnpm/package-bins",
    "/@pnpm/package-requester",
    "/@pnpm/store-path",
    "/@pnpm/tarball-fetcher",
    "/@pnpm/utils",
    "/@zkochan/cmd-shim",
    "/dint",
    "/package-store",
    "/remove-all-except-outer-links",
    "/supi",
    "/symlink-dir"
  ],
  "_resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
  "_shasum": "95008057a56cafadc2bc63dde7f9ff6955948e32",
  "_shrinkwrap": null,
  "_spec": "mz@2.7.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm",
  "author": {
    "name": "Jonathan Ong",
    "email": "me@jongleberry.com",
    "url": "http://jongleberry.com"
  },
  "bugs": {
    "url": "https://github.com/normalize/mz/issues"
  },
  "dependencies": {
    "any-promise": "^1.0.0",
    "object-assign": "^4.0.1",
    "thenify-all": "^1.0.0"
  },
  "description": "modernize node.js to current ECMAScript standards",
  "devDependencies": {
    "bluebird": "^3.0.0",
    "istanbul": "^0.4.0",
    "mocha": "^3.0.0"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
    "shasum": "95008057a56cafadc2bc63dde7f9ff6955948e32",
    "tarball": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz"
  },
  "files": [
    "index.js",
    "child_process.js",
    "crypto.js",
    "dns.js",
    "fs.js",
    "readline.js",
    "zlib.js"
  ],
  "gitHead": "f3d4c7933ab03ad60353bacd70663614ab4482e9",
  "homepage": "https://github.com/normalize/mz#readme",
  "keywords": [
    "promisify",
    "promise",
    "thenify",
    "then",
    "es6"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "evancarroll",
      "email": "me@evancarroll.com"
    },
    {
      "name": "coderhaoxin",
      "email": "haoxins@outlook.com"
    },
    {
      "name": "rstacruz",
      "email": "dropbox@ricostacruz.com"
    },
    {
      "name": "linusu",
      "email": "linus@folkdatorn.se"
    },
    {
      "name": "dead_horse",
      "email": "dead_horse@qq.com"
    },
    {
      "name": "dead-horse",
      "email": "dead_horse@qq.com"
    },
    {
      "name": "jongleberry",
      "email": "jonathanrichardong@gmail.com"
    },
    {
      "name": "swatinem",
      "email": "arpad.borsos@googlemail.com"
    }
  ],
  "name": "mz",
  "optionalDependencies": {},
  "readme": "\n# MZ - Modernize node.js\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\nModernize node.js to current ECMAScript specifications!\nnode.js will not update their API to ES6+ [for a while](https://github.com/joyent/node/issues/7549).\nThis library is a wrapper for various aspects of node.js' API.\n\n## Installation and Usage\n\nSet `mz` as a dependency and install it.\n\n```bash\nnpm i mz\n```\n\nThen prefix the relevant `require()`s with `mz/`:\n\n```js\nvar fs = require('mz/fs')\n\nfs.exists(__filename).then(function (exists) {\n  if (exists) // do something\n})\n```\n\nWith ES2017, this will allow you to use async functions cleanly with node's core API:\n\n```js\nconst fs = require('mz/fs')\n\n\nasync function doSomething () {\n  if (await fs.exists(__filename)) // do something\n}\n```\n\n## Promisification\n\nMany node methods are converted into promises.\nAny properties that are deprecated or aren't asynchronous will simply be proxied.\nThe modules wrapped are:\n\n- `child_process`\n- `crypto`\n- `dns`\n- `fs` (uses `graceful-fs` if available)\n- `readline`\n- `zlib`\n\n```js\nvar exec = require('mz/child_process').exec\n\nexec('node --version').then(function (stdout) {\n  console.log(stdout)\n})\n```\n\n## Promise Engine\n\n`mz` uses [`any-promise`](https://github.com/kevinbeaty/any-promise).\n\n## FAQ\n\n### Can I use this in production?\n\nYes, Node 4.x ships with stable promises support. For older engines,\nyou should probably install your own promise implementation and register it with\n`require('any-promise/register')('bluebird')`.\n\n### Will this make my app faster?\n\nNope, probably slower actually.\n\n### Can I add more features?\n\nSure.\nOpen an issue.\n\nCurrently, the plans are to eventually support:\n\n- New APIs in node.js that are not available in older versions of node\n- ECMAScript7 Streams\n\n[bluebird]: https://github.com/petkaantonov/bluebird\n\n[npm-image]: https://img.shields.io/npm/v/mz.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/mz\n[github-tag]: http://img.shields.io/github/tag/normalize/mz.svg?style=flat-square\n[github-url]: https://github.com/normalize/mz/tags\n[travis-image]: https://img.shields.io/travis/normalize/mz.svg?style=flat-square\n[travis-url]: https://travis-ci.org/normalize/mz\n[coveralls-image]: https://img.shields.io/coveralls/normalize/mz.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/normalize/mz?branch=master\n[david-image]: http://img.shields.io/david/normalize/mz.svg?style=flat-square\n[david-url]: https://david-dm.org/normalize/mz\n[license-image]: http://img.shields.io/npm/l/mz.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/mz.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/mz\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/normalize/mz.git"
  },
  "scripts": {
    "test": "mocha --reporter spec",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
  },
  "version": "2.7.0"
}
