{"_id":"sponge","_rev":"359092","name":"sponge","description":"Reimplementation of sponge from moreutils","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"time":{"modified":"2021-07-13T08:44:28.000Z","created":"2015-02-26T11:25:48.168Z","0.1.0":"2015-02-26T22:42:54.637Z","0.0.1":"2015-02-26T11:25:48.168Z"},"users":{},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"repository":{"type":"git","url":"https://github.com/eush77/node-sponge"},"versions":{"0.1.0":{"name":"sponge","version":"0.1.0","description":"Reimplementation of sponge from moreutils","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","bin":{"sponge":"cli.js"},"files":["cli.js","index.js"],"scripts":{"test":"npm run apitest && npm run clitest","apitest":"tape test/api/*.js","clitest":"PATH=\"$PWD:$PATH\" urchin -f test/cli"},"homepage":"https://github.com/eush77/node-sponge","repository":{"type":"git","url":"https://github.com/eush77/node-sponge"},"bugs":{"url":"https://github.com/eush77/node-sponge/issues"},"keywords":["sponge","moreutils","node","stream","stdin","stdout","file","accumulate","read","write","buffer"],"dependencies":{"concat-stream":"^1.4.7","duplexer2":"0.0.2","through2":"^0.6.3"},"devDependencies":{"rewire":"^2.3.1","tape":"^3.5.0","urchin":"0.0.5"},"gitHead":"ea7a6225c21e6d5242de6b056eb8982ded9ddfa7","_id":"sponge@0.1.0","_shasum":"83ffe3dff05f75d923ad17861a34a179e71d9a35","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"83ffe3dff05f75d923ad17861a34a179e71d9a35","size":2137,"noattachment":false,"key":"/sponge/-/sponge-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sponge/download/sponge-0.1.0.tgz"},"directories":{},"publish_time":1424990574637,"_cnpm_publish_time":1424990574637,"_hasShrinkwrap":false},"0.0.1":{"name":"sponge","version":"0.0.1","description":"Reimplementation of sponge from moreutils","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","bin":{"sponge":"cli.js"},"files":["cli.js","index.js"],"scripts":{"test":"PATH=\"$PWD:$PATH\" urchin test"},"homepage":"https://github.com/eush77/node-sponge","repository":{"type":"git","url":"https://github.com/eush77/node-sponge"},"bugs":{"url":"https://github.com/eush77/node-sponge/issues"},"keywords":["sponge","moreutils","node","stream","stdin","stdout","file","accumulate","read","write","buffer"],"dependencies":{"concat-stream":"^1.4.7","duplexer2":"0.0.2","through2":"^0.6.3"},"devDependencies":{"urchin":"0.0.5"},"gitHead":"80f4e4e7b9f935778668e078791ecf13ad6d1aa3","_id":"sponge@0.0.1","_shasum":"b7d5cf3011220dd5c7859e940cc53932626fa47b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"eush77","email":"eush77@gmail.com"}],"dist":{"shasum":"b7d5cf3011220dd5c7859e940cc53932626fa47b","size":2065,"noattachment":false,"key":"/sponge/-/sponge-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sponge/download/sponge-0.0.1.tgz"},"directories":{},"publish_time":1424949948168,"_cnpm_publish_time":1424949948168,"_hasShrinkwrap":false}},"readme":"[![npm](https://nodei.co/npm/sponge.png)](https://nodei.co/npm/sponge/)\n\n# sponge\n\n[![Build Status][travis-badge]][travis] [![Dependency Status][david-badge]][david]\n\nReimplementation of sponge(1) from [moreutils].\n\n[travis]: https://travis-ci.org/eush77/node-sponge\n[travis-badge]: https://travis-ci.org/eush77/node-sponge.svg\n[david]: https://david-dm.org/eush77/node-sponge\n[david-badge]: https://david-dm.org/eush77/node-sponge.png\n\n## CLI\n\n```\nsponge [<file>]\n```\n\nIf `<file>` is omitted, write to stdout.\n\n## API\n\n### `sponge(filename)`\n\nReturns a writable stream that buffers the input and then writes to a file.\n\n### `sponge()`\n\nReturns a transform stream that buffers the input and then writes to the output.\n\n## References\n\n- [moreutils] - growing collection of the unix tools that nobody thought to write long ago when unix was young.\n\n[moreutils]: http://joeyh.name/code/moreutils\n\n## Install\n\n```\nnpm install sponge\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/eush77/node-sponge","bugs":{"url":"https://github.com/eush77/node-sponge/issues"},"license":"MIT"}