{
  "_args": [
    [
      {
        "raw": "fs-write-stream-atomic@1.0.10",
        "scope": null,
        "escapedName": "fs-write-stream-atomic",
        "name": "fs-write-stream-atomic",
        "rawSpec": "1.0.10",
        "spec": "1.0.10",
        "type": "version"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/tarball-fetcher"
    ]
  ],
  "_from": "fs-write-stream-atomic@1.0.10",
  "_id": "fs-write-stream-atomic@1.0.10",
  "_inCache": true,
  "_location": "/fs-write-stream-atomic",
  "_nodeVersion": "7.7.1",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/fs-write-stream-atomic-1.0.10.tgz_1488925398888_0.6416559314820915"
  },
  "_npmUser": {
    "name": "iarna",
    "email": "me@re-becca.org"
  },
  "_npmVersion": "4.4.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "fs-write-stream-atomic@1.0.10",
    "scope": null,
    "escapedName": "fs-write-stream-atomic",
    "name": "fs-write-stream-atomic",
    "rawSpec": "1.0.10",
    "spec": "1.0.10",
    "type": "version"
  },
  "_requiredBy": [
    "/@pnpm/tarball-fetcher",
    "/copy-concurrently",
    "/move-concurrently"
  ],
  "_resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
  "_shasum": "b47df53493ef911df75731e70a9ded0189db40c9",
  "_shrinkwrap": null,
  "_spec": "fs-write-stream-atomic@1.0.10",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/tarball-fetcher",
  "author": {
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me",
    "url": "http://blog.izs.me/"
  },
  "bugs": {
    "url": "https://github.com/npm/fs-write-stream-atomic/issues"
  },
  "dependencies": {
    "graceful-fs": "^4.1.2",
    "iferr": "^0.1.5",
    "imurmurhash": "^0.1.4",
    "readable-stream": "1 || 2"
  },
  "description": "Like `fs.createWriteStream(...)`, but atomic.",
  "devDependencies": {
    "rimraf": "^2.4.4",
    "standard": "^5.4.1",
    "tap": "^2.3.1"
  },
  "directories": {
    "test": "test"
  },
  "dist": {
    "shasum": "b47df53493ef911df75731e70a9ded0189db40c9",
    "tarball": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz"
  },
  "gitHead": "de157c0373a40fb5539640923cab9671cef08b12",
  "homepage": "https://github.com/npm/fs-write-stream-atomic",
  "license": "ISC",
  "main": "index.js",
  "maintainers": [
    {
      "name": "iarna",
      "email": "me@re-becca.org"
    },
    {
      "name": "isaacs",
      "email": "i@izs.me"
    },
    {
      "name": "othiym23",
      "email": "ogd@aoaioxxysz.net"
    },
    {
      "name": "zkat",
      "email": "kat@sykosomatic.org"
    }
  ],
  "name": "fs-write-stream-atomic",
  "optionalDependencies": {},
  "readme": "# fs-write-stream-atomic\n\nLike `fs.createWriteStream(...)`, but atomic.\n\nWrites to a tmp file and does an atomic `fs.rename` to move it into\nplace when it's done.\n\nFirst rule of debugging: **It's always a race condition.**\n\n## USAGE\n\n```javascript\nvar fsWriteStreamAtomic = require('fs-write-stream-atomic')\n// options are optional.\nvar write = fsWriteStreamAtomic('output.txt', options)\nvar read = fs.createReadStream('input.txt')\nread.pipe(write)\n\n// When the write stream emits a 'finish' or 'close' event,\n// you can be sure that it is moved into place, and contains\n// all the bytes that were written to it, even if something else\n// was writing to `output.txt` at the same time.\n```\n\n### `fsWriteStreamAtomic(filename, [options])`\n\n* `filename` {String} The file we want to write to\n* `options` {Object}\n  * `chown` {Object} User and group to set ownership after write\n    * `uid` {Number}\n    * `gid` {Number}\n  * `encoding` {String} default = 'utf8'\n  * `mode` {Number} default = `0666`\n  * `flags` {String} default = `'w'`\n\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/npm/fs-write-stream-atomic.git"
  },
  "scripts": {
    "test": "standard && tap --coverage test/*.js"
  },
  "version": "1.0.10"
}
