{"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"dist-tags":{"latest":"1.0.3"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.","readme":"# write [![NPM version](https://img.shields.io/npm/v/write.svg?style=flat)](https://www.npmjs.com/package/write) [![NPM monthly downloads](https://img.shields.io/npm/dm/write.svg?style=flat)](https://npmjs.org/package/write) [![NPM total downloads](https://img.shields.io/npm/dt/write.svg?style=flat)](https://npmjs.org/package/write) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/write.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/write)\n\n> Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save write\n```\n\n## Usage\n\n```js\nvar writeFile = require('write');\n```\n\n## API\n\n### [writeFile](index.js#L40)\n\nAsynchronously writes data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Data can be a string or a buffer. Returns a promise if a callback function is not passed.\n\n**Params**\n\n* `filepath` **{string|Buffer|integer}**: filepath or file descriptor.\n* `data` **{string|Buffer|Uint8Array}**: String to write to disk.\n* `options` **{object}**: Options to pass to [fs.writeFile](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback) and/or [mkdirp](https://github.com/substack/node-mkdirp)\n* `callback` **{Function}**: (optional) If no callback is provided, a promise is returned.\n\n**Example**\n\n```js\nvar writeFile = require('write');\nwriteFile('foo.txt', 'This is content...', function(err) {\n  if (err) console.log(err);\n});\n\n// promise\nwriteFile('foo.txt', 'This is content...')\n  .then(function() {\n    // do stuff\n  });\n```\n\n### [.promise](index.js#L82)\n\nThe promise version of [writeFile](#writefile). Returns a promise.\n\n**Params**\n\n* `filepath` **{string|Buffer|integer}**: filepath or file descriptor.\n* `val` **{string|Buffer|Uint8Array}**: String or buffer to write to disk.\n* `options` **{object}**: Options to pass to [fs.writeFile](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback) and/or [mkdirp](https://github.com/substack/node-mkdirp)\n* `returns` **{Promise}**\n\n**Example**\n\n```js\nvar writeFile = require('write');\nwriteFile.promise('foo.txt', 'This is content...')\n  .then(function() {\n    // do stuff\n  });\n```\n\n### [.sync](index.js#L120)\n\nThe synchronous version of [writeFile](#writefile). Returns undefined.\n\n**Params**\n\n* `filepath` **{string|Buffer|integer}**: filepath or file descriptor.\n* `data` **{string|Buffer|Uint8Array}**: String or buffer to write to disk.\n* `options` **{object}**: Options to pass to [fs.writeFileSync](https://nodejs.org/api/fs.html#fs_fs_writefilesync_file_data_options) and/or [mkdirp](https://github.com/substack/node-mkdirp)\n* `returns` **{undefined}**\n\n**Example**\n\n```js\nvar writeFile = require('write');\nwriteFile.sync('foo.txt', 'This is content...');\n```\n\n### [.stream](index.js#L151)\n\nUses `fs.createWriteStream` to write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Data can be a string or a buffer. Returns a new [WriteStream](https://nodejs.org/api/fs.html#fs_class_fs_writestream) object.\n\n**Params**\n\n* `filepath` **{string|Buffer|integer}**: filepath or file descriptor.\n* `options` **{object}**: Options to pass to [mkdirp](https://github.com/substack/node-mkdirp) and [fs.createWriteStream](https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options)\n* `returns` **{Stream}**: Returns a new [WriteStream](https://nodejs.org/api/fs.html#fs_class_fs_writestream) object. (See [Writable Stream](https://nodejs.org/api/stream.html#stream_class_stream_writable)).\n\n**Example**\n\n```js\nvar fs = require('fs');\nvar writeFile = require('write');\nfs.createReadStream('README.md')\n  .pipe(writeFile.stream('a/b/c/other-file.md'))\n  .on('close', function() {\n    // do stuff\n  });\n```\n\n## Release history\n\n### v1.0.2 - 2017-07-11\n\n* improved documentation\n\n### v1.0.0 - 2017-07-09\n\n**Added**\n\n* [promise support](#promise)\n\n**Changed**\n\n* The main export will now return a promise if no callback is passed\n\n## About\n\n### Related projects\n\n* [delete](https://www.npmjs.com/package/delete): Delete files and folders and any intermediate directories if they exist (sync and async). | [homepage](https://github.com/jonschlinkert/delete \"Delete files and folders and any intermediate directories if they exist (sync and async).\")\n* [read-data](https://www.npmjs.com/package/read-data): Read JSON or YAML files. | [homepage](https://github.com/jonschlinkert/read-data \"Read JSON or YAML files.\")\n* [read-yaml](https://www.npmjs.com/package/read-yaml): Very thin wrapper around js-yaml for directly reading in YAML files. | [homepage](https://github.com/jonschlinkert/read-yaml \"Very thin wrapper around js-yaml for directly reading in YAML files.\")\n* [write-data](https://www.npmjs.com/package/write-data): Write a YAML or JSON file to disk. Automatically detects the format to write based… [more](https://github.com/jonschlinkert/write-data) | [homepage](https://github.com/jonschlinkert/write-data \"Write a YAML or JSON file to disk. Automatically detects the format to write based on extension. Or pass `ext` on the options.\")\n* [write-json](https://www.npmjs.com/package/write-json): Write a JSON file to disk, also creates intermediate directories in the destination path if… [more](https://github.com/jonschlinkert/write-json) | [homepage](https://github.com/jonschlinkert/write-json \"Write a JSON file to disk, also creates intermediate directories in the destination path if they don't already exist.\")\n* [write-yaml](https://www.npmjs.com/package/write-yaml): Write YAML. Converts JSON to YAML writes it to the specified file. | [homepage](https://github.com/jonschlinkert/write-yaml \"Write YAML. Converts JSON to YAML writes it to the specified file.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 33 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [tunnckoCore](https://github.com/tunnckoCore) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 11, 2017._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"users":{"davidbwaters":true,"andrew.medvedev":true,"skypupil":true,"rbecheras":true,"axelrindle":true},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","versions":{"0.1.1":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/write/blob/master/LICENSE-MIT"}],"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"chai":"~1.9.1","delete":"^0.1.0","mocha":"*","verb":"~0.2.6"},"dependencies":{"mkdirp":"^0.5.0"},"_id":"write@0.1.1","_shasum":"ea965cc7447c482194b8d84bbb7b9adfb80202a8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ea965cc7447c482194b8d84bbb7b9adfb80202a8","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.1.1.tgz"},"directories":{}},"0.2.0":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/write/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.0"},"devDependencies":{"async":"^0.9.0","delete":"^0.1.5","mocha":"^2.2.1","should":"^5.2.0"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"gitHead":"b74d70152d00dbe14b4079e213c79e50ee54e7e5","_id":"write@0.2.0","_shasum":"2744b79e38580033c09ae3473face798ab6cfe7b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2744b79e38580033c09ae3473face798ab6cfe7b","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.2.0.tgz"},"directories":{}},"0.2.1":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"async":"^1.4.0","delete":"^0.2.1","mocha":"^2.2.5","should":"^7.0.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"gitHead":"4fde911228a1d244d4439292d6850175c8195730","_id":"write@0.2.1","_shasum":"5fc03828e264cea3fe91455476f7a3c566cb0757","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5fc03828e264cea3fe91455476f7a3c566cb0757","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.2.1.tgz"},"directories":{}},"0.3.0":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1","try-open":"^0.1.2"},"devDependencies":{"async":"^1.5.2","delete":"^0.3.0","gulp-format-md":"^0.1.7","mocha":"^2.4.5","should":"^8.2.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","write-yaml","write-json","read-yaml","read-json","read-data"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"73deedf8139dfd7dd38c9ae81a7a86f7532fe9b7","_id":"write@0.3.0","_shasum":"26c4ef864d2be7f1e08bde85a1bd4b5e704eeaa9","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"26c4ef864d2be7f1e08bde85a1bd4b5e704eeaa9","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.3.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-0.3.0.tgz_1457511823952_0.39074073801748455"},"directories":{}},"0.3.1":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1","try-open":"^0.1.2"},"devDependencies":{"async":"^1.5.2","delete":"^0.3.0","gulp-format-md":"^0.1.7","mocha":"^2.4.5","should":"^8.2.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","write-yaml","write-json","read-yaml","read-json","read-data"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"f6d18c0a64eed5f64452efd224d81b1b5bfc9f5e","_id":"write@0.3.1","_shasum":"4f7fea673114b4aa84566ab04827c269786fc20c","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4f7fea673114b4aa84566ab04827c269786fc20c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.3.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-0.3.1.tgz_1458548088104_0.0833004501182586"},"directories":{}},"0.3.2":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"fs-exists-sync":"^0.1.0","mkdirp":"^0.5.1"},"devDependencies":{"async":"^1.5.2","delete":"^0.3.0","gulp-format-md":"^0.1.7","mocha":"^2.4.5","should":"^8.2.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-json","read-yaml","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"e5cefcf40407dfc3fc6aebd21da33041d266d79b","_id":"write@0.3.2","_shasum":"ad1d27823df0ad2149e3ce8d91f9c3e5b073c6cf","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ad1d27823df0ad2149e3ce8d91f9c3e5b073c6cf","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.3.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-0.3.2.tgz_1471439221584_0.7865234685596079"},"directories":{}},"0.3.3":{"name":"write","description":"Write files to disk, creating intermediate directories if they don't exist.","version":"0.3.3","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"fs-exists-sync":"^0.1.0","mkdirp":"^0.5.1"},"devDependencies":{"async":"^2.1.5","delete":"^0.3.2","gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-json","read-yaml","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"d8d4b0ef32860c9e6f406d301c5266242489f3ee","_id":"write@0.3.3","_shasum":"09cdc5a2155607ee279f45e38d91ae29fb6a5178","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"09cdc5a2155607ee279f45e38d91ae29fb6a5178","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-0.3.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-0.3.3.tgz_1490397484660_0.4980801618658006"},"directories":{}},"1.0.0":{"name":"write","description":"Write files to disk, by first creating intermediate directories if they don't exist, then passing through to node's native fs methods.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"async-each":"^1.0.1","delete":"^1.1.0","gulp-format-md":"^1.0.0","mocha":"^3.4.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-json","read-yaml","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"dbe61c6097d3a91328ee44e2064199dd4bf08e70","_id":"write@1.0.0","_npmVersion":"5.1.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-NbaA6YLWGYuqg2SI8Svbeim58iLH4lT7KgPBdjMejkDVMG0SZwllm5bJJl2rn/YH6Z+0wBwRO1sb1erN2FIlbA==","shasum":"e70fca2612b51a7c292eee0e0d3d3c9a23e2c106","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-1.0.0.tgz_1499642370802_0.4821193697862327"},"directories":{}},"1.0.1":{"name":"write","description":"Write files to disk, by first creating intermediate directories if they don't exist, then passing through to node's native fs methods.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"async-each":"^1.0.1","delete":"^1.1.0","gulp-format-md":"^1.0.0","mocha":"^3.4.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-json","read-yaml","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"61e1d41c54bf4d3af73c3f95b0e615fc06e37e0b","_id":"write@1.0.1","_npmVersion":"5.1.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-BmLTMbANfg7HvTW0NJj1HT6f6NWDONjVcuIomnv0aTngMdHUXyM0Xpja6Df+iqwqGLKhjg4Yi8ilTS5yKE0ULQ==","shasum":"96333dd619d91898c13f3474845de02728c8c13d","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-1.0.1.tgz_1499646572224_0.6719520462211221"},"directories":{}},"1.0.2":{"name":"write","description":"Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.","version":"1.0.2","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"async-each":"^1.0.1","delete":"^1.1.0","gulp-format-md":"^1.0.0","mocha":"^3.4.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-yaml","write-data","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"e6c6c36a94b64227b83ca3db3f51c69d6e27065d","_id":"write@1.0.2","_npmVersion":"5.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-IiZlhr4lRy0JjQo/dDizAyOWLgy56DA65iBOv7dqwZZn9kXLLIaafMJ3gr9a+2iw0gxr2yU41vlBv4DwBLM4hQ==","shasum":"aba56d0a4734340182aecf8c6102fee5ca8415a7","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-1.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-1.0.2.tgz_1499747377683_0.5051541693974286"},"directories":{}},"1.0.3":{"name":"write","description":"Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.","version":"1.0.3","homepage":"https://github.com/jonschlinkert/write","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/write.git"},"bugs":{"url":"https://github.com/jonschlinkert/write/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"dependencies":{"mkdirp":"^0.5.1"},"devDependencies":{"async-each":"^1.0.1","delete":"^1.1.0","gulp-format-md":"^1.0.0","mocha":"^3.4.2"},"keywords":["file","filepath","files","filesystem","folder","fs","fs.writeFile","fs.writeFileSync","path","write"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["delete","read-data","read-yaml","write-data","write-json","write-yaml"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"6a48d4e363510c52653fabc25f620a484d6058bf","_id":"write@1.0.3","_npmVersion":"5.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==","shasum":"0800e14523b923a387e415123c865616aae0f5c3","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/write/-/write-1.0.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-1.0.3.tgz_1499747519769_0.5957262869924307"},"directories":{}}},"name":"write","contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"time":{"modified":"2017-07-11T04:32:00.842Z","created":"2014-02-12T05:34:49.679Z","0.1.0":"2014-02-12T05:34:49.679Z","0.1.1":"2014-06-28T10:11:42.769Z","0.2.0":"2015-04-07T09:46:57.132Z","0.2.1":"2015-07-29T19:16:11.978Z","0.3.0":"2016-03-09T08:23:48.021Z","0.3.1":"2016-03-21T08:14:50.533Z","0.3.2":"2016-08-17T13:07:03.239Z","0.3.3":"2017-03-24T23:18:06.515Z","1.0.0":"2017-07-09T23:19:31.841Z","1.0.1":"2017-07-10T00:29:33.350Z","1.0.2":"2017-07-11T04:29:38.784Z","1.0.3":"2017-07-11T04:32:00.842Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/write"}