{
  "_args": [
    [
      {
        "raw": "write-json-file@^2.3.0",
        "scope": null,
        "escapedName": "write-json-file",
        "name": "write-json-file",
        "rawSpec": "^2.3.0",
        "spec": ">=2.3.0 <3.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/pnpm"
    ]
  ],
  "_from": "write-json-file@>=2.3.0 <3.0.0",
  "_id": "write-json-file@2.3.0",
  "_inCache": true,
  "_location": "/write-json-file",
  "_nodeVersion": "4.8.3",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/write-json-file-2.3.0.tgz_1507725714157_0.048371047247201204"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "2.15.11",
  "_phantomChildren": {
    "graceful-fs": "4.1.11",
    "signal-exit": "3.0.2"
  },
  "_requested": {
    "raw": "write-json-file@^2.3.0",
    "scope": null,
    "escapedName": "write-json-file",
    "name": "write-json-file",
    "rawSpec": "^2.3.0",
    "spec": ">=2.3.0 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/",
    "/@pnpm/default-resolver/@pnpm/npm-resolver",
    "/@pnpm/outdated/@pnpm/npm-resolver",
    "/@pnpm/server/@pnpm/package-requester",
    "/package-store",
    "/package-store/@pnpm/package-requester",
    "/supi/@pnpm/package-requester",
    "/supi/write-pkg"
  ],
  "_resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz",
  "_shasum": "2b64c8a33004d54b8698c76d585a77ceb61da32f",
  "_shrinkwrap": null,
  "_spec": "write-json-file@^2.3.0",
  "_where": "/home/zkochan/src/pnpm/pnpm",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/write-json-file/issues"
  },
  "dependencies": {
    "detect-indent": "^5.0.0",
    "graceful-fs": "^4.1.2",
    "make-dir": "^1.0.0",
    "pify": "^3.0.0",
    "sort-keys": "^2.0.0",
    "write-file-atomic": "^2.0.0"
  },
  "description": "Stringify and write JSON to a file atomically",
  "devDependencies": {
    "ava": "*",
    "tempfile": "^2.0.0",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "shasum": "2b64c8a33004d54b8698c76d585a77ceb61da32f",
    "tarball": "https://registry.npmjs.org/write-json-file/-/write-json-file-2.3.0.tgz"
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "e4c9b991192adeb0e9b9f47ae691e2c46b4f3974",
  "homepage": "https://github.com/sindresorhus/write-json-file#readme",
  "keywords": [
    "write",
    "json",
    "stringify",
    "file",
    "fs",
    "graceful",
    "stable",
    "sort",
    "newline",
    "indent",
    "atomic",
    "atomically"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "write-json-file",
  "optionalDependencies": {},
  "readme": "# write-json-file [![Build Status](https://travis-ci.org/sindresorhus/write-json-file.svg?branch=master)](https://travis-ci.org/sindresorhus/write-json-file)\n\n> Stringify and write JSON to a file [atomically](https://github.com/npm/write-file-atomic)\n\nCreates directories for you as needed.\n\n\n## Install\n\n```\n$ npm install write-json-file\n```\n\n\n## Usage\n\n```js\nconst writeJsonFile = require('write-json-file');\n\nwriteJsonFile('foo.json', {foo: true}).then(() => {\n\tconsole.log('done');\n});\n```\n\n\n## API\n\n### writeJsonFile(filepath, data, [options])\n\nReturns a `Promise`.\n\n### writeJsonFile.sync(filepath, data, [options])\n\n#### options\n\nType: `Object`\n\n##### indent\n\nType: `string` `number`<br>\nDefault: `'\\t'`\n\nIndentation as a string or number of spaces.<br>\nPass in `null` for no formatting.\n\n##### detectIndent\n\nType: `boolean`<br>\nDefault: `false`\n\nDetect indentation automatically if the file exists.\n\n##### sortKeys\n\nType: `boolean` `function`<br>\nDefault: `false`\n\nSort the keys recursively.<br>\nOptionally pass in a [`compare`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) function.\n\n##### replacer\n\nType: `function`\n\nPassed into [`JSON.stringify`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter).\n\n##### mode\n\nType: `number`<br>\nDefault: `0o666`\n\n[Mode](https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation) used when writing the file.\n\n\n## Related\n\n- [load-json-file](https://github.com/sindresorhus/load-json-file) - Read and parse a JSON file\n- [make-dir](https://github.com/sindresorhus/make-dir) - Make a directory and its parents if needed\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/write-json-file.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "2.3.0"
}
