{
  "_args": [
    [
      {
        "raw": "write-json-file@^3.0.0",
        "scope": null,
        "escapedName": "write-json-file",
        "name": "write-json-file",
        "rawSpec": "^3.0.0",
        "spec": ">=3.0.0 <4.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/npm-resolver"
    ]
  ],
  "_from": "write-json-file@^3.0.0",
  "_hasShrinkwrap": false,
  "_id": "write-json-file@3.0.1",
  "_location": "/write-json-file",
  "_nodeVersion": "8.11.4",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/write-json-file_3.0.1_1535952487826_0.8546839158588324"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "5.6.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "write-json-file@^3.0.0",
    "scope": null,
    "escapedName": "write-json-file",
    "name": "write-json-file",
    "rawSpec": "^3.0.0",
    "spec": ">=3.0.0 <4.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "#DEV:/",
    "/@pnpm/npm-resolver",
    "/@pnpm/package-requester",
    "/package-store"
  ],
  "_resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.0.1.tgz",
  "_shasum": "8f0ee42defa4f0423ba2894a04ca81b87f1777e9",
  "_shrinkwrap": null,
  "_spec": "write-json-file@^3.0.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/npm-resolver",
  "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": "^4.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",
    "tsd-check": "^0.1.0",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-EuyKbUhp2iomuj3GaoLFZugM0QKAe0R82Aze9rOLY5jKuCvvt70MeI8fOsGgyQZduTWzTZL3g4gH3/ziINVFFA==",
    "shasum": "8f0ee42defa4f0423ba2894a04ca81b87f1777e9",
    "tarball": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.0.1.tgz",
    "fileCount": 5,
    "unpackedSize": 7327,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjMZoCRA9TVsSAnZWagAAGQkP/1+1rK41qcdF+cT6cLI2\nMCtMTD6pvFKlUZ6JOFC8zDmVyq0ecGdCqwpYAbHJaDeIQag73Wa1QM466OQH\ns86d3SwxwY67XVQCIBbb6aPBDrDQ7PvWsMV1/YrF3+azb4w/1FHeULVVmFtE\nlN4AskENy6ElMmcUD26BOdxhxJV1r7KiKcSqQydAIveuj9PHhiq/Iyhd9o7Y\niW1jeNewbBjION5TUYLvTBdUQgDrsDpLLl0T1P4r3J9kadU5xyeIVpQa3MXs\nj9RGsmqP5ZEv6lHQZrPooYYVXNzkNAd7hOHWik09u/ASdM6XT7BihXq8hNAJ\nmKLn/NRHgI2h9pqhGJLy7i1HTXCZrHHvQ6m1KvZGoJ2GvJc7AdpIfoWKjTZO\ncETyze6OxP6Kg1l9ZqqmDn7KnHGMsbwYQC1vWS5Qljv24tgKHkLFNbaFYBCe\nDmUi7atJGfznPIHnPg0UjxShHToSEej+7kyN+Fga5ey5JEuD1hV2bLd8euP/\n2QHMSZxyTJG8Awya6/1v1xyI00+ktk6/QdCCaeSwfqIDkJzOHGGRigXOoQJs\nqZ5PA8sddni1LX37pEkU+l9u5TNnxig7OadB4PydMyvFkR+RZkXiPcyvggti\nHCFgPycOalneW7cabdKRSTY186KZBHS74brY7T0jX631GcjcWCR4Ftwz6RId\nSLXT\r\n=cA9c\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "index.js",
    "index.d.ts"
  ],
  "gitHead": "41abd90b5b7224555177c42885ff5d6cf0531a8c",
  "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\n(async () => {\n\tawait writeJsonFile('foo.json', {foo: true});\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 && tsd-check"
  },
  "version": "3.0.1",
  "xo": {
    "ignores": [
      "*.ts"
    ]
  }
}
