{
  "_args": [
    [
      {
        "raw": "write-file-atomic@https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
        "scope": null,
        "escapedName": "write-file-atomic",
        "name": "write-file-atomic",
        "rawSpec": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
        "spec": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
        "type": "remote"
      },
      "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin"
    ]
  ],
  "_from": "write-file-atomic@>=2.0.0 <3.0.0",
  "_id": "write-file-atomic@2.1.0",
  "_inCache": true,
  "_location": "/firebase-admin/write-file-atomic",
  "_phantomChildren": {},
  "_requested": {
    "raw": "write-file-atomic@https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
    "scope": null,
    "escapedName": "write-file-atomic",
    "name": "write-file-atomic",
    "rawSpec": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
    "spec": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/firebase-admin",
    "/firebase-admin/configstore"
  ],
  "_resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
  "_shasum": "1769f4b551eedce419f0505deae2e26763542d37",
  "_shrinkwrap": null,
  "_spec": "write-file-atomic@https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.1.0.tgz",
  "_where": "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin",
  "author": {
    "name": "Rebecca Turner",
    "email": "me@re-becca.org",
    "url": "http://re-becca.org"
  },
  "bugs": {
    "url": "https://github.com/iarna/write-file-atomic/issues"
  },
  "dependencies": {
    "graceful-fs": "^4.1.11",
    "imurmurhash": "^0.1.4",
    "slide": "^1.1.5"
  },
  "description": "Write files in an atomic fashion w/configurable ownership",
  "devDependencies": {
    "mkdirp": "^0.5.1",
    "require-inject": "^1.4.0",
    "rimraf": "^2.5.4",
    "standard": "^10.0.2",
    "tap": "^10.3.2"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/iarna/write-file-atomic",
  "keywords": [
    "writeFile",
    "atomic"
  ],
  "license": "ISC",
  "main": "index.js",
  "name": "write-file-atomic",
  "optionalDependencies": {},
  "readme": "write-file-atomic\n-----------------\n\nThis is an extension for node's `fs.writeFile` that makes its operation\natomic and allows you set ownership (uid/gid of the file).\n\n### var writeFileAtomic = require('write-file-atomic')<br>writeFileAtomic(filename, data, [options], callback)\n\n* filename **String**\n* data **String** | **Buffer**\n* options **Object**\n  * chown **Object**\n    * uid **Number**\n    * gid **Number**\n  * encoding **String** | **Null** default = 'utf8'\n  * fsync **Boolean** default = true\n  * mode **Number** default = 438 (aka 0666 in Octal)\ncallback **Function**\n\nAtomically and asynchronously writes data to a file, replacing the file if it already\nexists.  data can be a string or a buffer.\n\nThe file is initially named `filename + \".\" + murmurhex(__filename, process.pid, ++invocations)`.\nIf writeFile completes successfully then, if passed the **chown** option it will change\nthe ownership of the file. Finally it renames the file back to the filename you specified. If\nit encounters errors at any of these steps it will attempt to unlink the temporary file and then\npass the error back to the caller.\n\nIf provided, the **chown** option requires both **uid** and **gid** properties or else\nyou'll get an error.\n\nThe **encoding** option is ignored if **data** is a buffer. It defaults to 'utf8'.\n\nIf the **fsync** option is **false**, writeFile will skip the final fsync call.\n\nExample:\n\n```javascript\nwriteFileAtomic('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) {\n  if (err) throw err;\n  console.log('It\\'s saved!');\n});\n```\n\n### var writeFileAtomicSync = require('write-file-atomic').sync<br>writeFileAtomicSync(filename, data, [options])\n\nThe synchronous version of **writeFileAtomic**.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/iarna/write-file-atomic.git"
  },
  "scripts": {
    "test": "standard && tap --100 test/*.js"
  },
  "version": "2.1.0"
}
