{"name":"pull-write-file","description":"pull-stream version of fs.createWriteStream","version":"0.2.2","homepage":"https://github.com/dominictarr/pull-write-file","repository":{"type":"git","url":"git://github.com/dominictarr/pull-write-file.git"},"dependencies":{},"devDependencies":{"osenv":"^0.1.3","pull-file":"^0.5.0","pull-stream":"^3.1.0","pull-stringify":"^1.2.2","statistics":"^2.0.1"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"47f8eeb1aa1f77534e2a24d51fdfb2ba8ba75c93","bugs":{"url":"https://github.com/dominictarr/pull-write-file/issues"},"_id":"pull-write-file@0.2.2","_shasum":"a5974f0e7f67b21f7e9d323fa28d35921d4e93b9","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.4.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"a5974f0e7f67b21f7e9d323fa28d35921d4e93b9","tarball":"http://registry-npm.ywwl.com/pull-write-file/download/pull-write-file-0.2.2.tgz","integrity":"sha512-8iwWb93ZKN3pM6I9Vutu5DEtkyMlbHCTlK4bxk4QPFZuzenfVg7kNwom3Ka0GDORBdi392Is7M4CF9Nrgf5fYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBioGwMgZSTKpjG/sn3IUKPJ26cQDsZyQ+E8J/TIxTj6AiBOskDmjsyuadF/ivdnliw/Y/KnbCY1qwC/x2yG2dKCQg=="}],"size":3617,"noattachment":false,"key":"/pull-write-file/-/pull-write-file-0.2.2.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pull-write-file-0.2.2.tgz_1479943256192_0.10989892412908375"},"directories":{},"readme":"# pull-write-file\n\npull-stream version of fs.createWriteStream\n\ncurrently really simple and does not yet support all fs.createWriteStream options yet.\n\n## Example\n\n``` js\nvar Write = require('pull-write-stream')\n\npull(\n  source, //must be buffers (sorry, strings not working yet!)\n  Write(pathToFile, {}, function (err) {\n    //callback is called once write is complete,\n    //and file descriptor is closed\n  })\n)\n\n```\n\n## Performance\n\nFor large buffers this is currently as fast as node's streams,\nbut for lots of small buffers it's a little less.\nNode uses the fs binding's `writev` to pass many buffers to the kernel simutaniously.\n\nTODO: benchmarks with graphs comparing node streams and pull streams.\n\n## License\n\nMIT\n","publish_time":1479943256742,"_cnpm_publish_time":1479943256742,"dist-tags":{"latest":"0.2.4"}}