{"_id":"optipng-stream-bin","_rev":"247332","name":"optipng-stream-bin","description":"Wrapper around optipng-bin for use with stdin/stdout","dist-tags":{"latest":"0.0.7"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"time":{"modified":"2021-06-03T16:05:33.000Z","created":"2014-02-28T16:54:04.539Z","0.0.7":"2014-03-31T08:11:13.143Z","0.0.6":"2014-03-31T08:07:38.418Z","0.0.5":"2014-03-02T19:24:08.894Z","0.0.4":"2014-03-02T19:20:29.695Z","0.0.3":"2014-02-28T18:18:14.264Z","0.0.2":"2014-02-28T16:57:22.151Z","0.0.1":"2014-02-28T16:54:04.539Z"},"users":{},"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"versions":{"0.0.7":{"name":"optipng-stream-bin","version":"0.0.7","description":"Wrapper around optipng-bin for use with stdin/stdout","keywords":["compress","image","img","minify","optimize","png","stream"],"homepage":"https://github.com/ameyp/optipng-stream-bin","bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha --reporter list --timeout 0"},"main":"index.js","bin":{"optipng-stream":"cli.js"},"files":["cli.js","index.js"],"dependencies":{"concat-stream":"^1.4.4","optipng-bin":"^0.3.2","rimraf":"^2.2.6","tempfile":"^0.1.3","win-spawn":"^2.0.0"},"devDependencies":{"mocha":"^1.18.2"},"engines":{"node":">=0.10.0"},"_id":"optipng-stream-bin@0.0.7","dist":{"shasum":"4f735cf6e62949062be12b14e20430b8822e1890","size":1506,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.7.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.4.3","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"directories":{},"publish_time":1396253473143,"_cnpm_publish_time":1396253473143,"_hasShrinkwrap":false},"0.0.6":{"name":"optipng-stream-bin","version":"0.0.6","description":"Wrapper around optipng-bin for use with stdin/stdout","keywords":["compress","image","img","minify","optimize","png","stream"],"homepage":"https://github.com/ameyp/optipng-stream-bin","bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha --reporter list --timeout 0"},"main":"index.js","bin":{"optipng-stream":"cli.js"},"files":["cli.js","index.js"],"dependencies":{"concat-stream":"^1.4.4","optipng-bin":"^0.3.2","rimraf":"^2.2.6","tempfile":"^0.1.3","win-spawn":"^2.0.0"},"devDependencies":{"mocha":"^1.18.2"},"engines":{"node":">=0.10.0"},"_id":"optipng-stream-bin@0.0.6","dist":{"shasum":"2e57962f504d58d3f536812eb25fbf799a6f27c0","size":1507,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.6.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.4.3","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"directories":{},"publish_time":1396253258418,"_cnpm_publish_time":1396253258418,"_hasShrinkwrap":false},"0.0.5":{"name":"optipng-stream-bin","version":"0.0.5","description":"Wrapper around optipng-bin for reading PNG data from STDIN and writing optimized output to STDOUT","keywords":["png","compress","minify","optimize","img","image","stream"],"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"main":"index","bin":{"optipng-stream":"bin/optipng-stream"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha"},"engines":{"node":">=0.10.0"},"licenses":[{"type":"BSD"}],"dependencies":{"tmp":"~0.0.23","optipng-bin":"~0.3.0","concat-stream":"~1.4.1","filesize":"~2.0.0"},"devDependencies":{"mocha":"*","rimraf":"*","multipipe":"*"},"files":["bin","index.js"],"bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"homepage":"https://github.com/ameyp/optipng-stream-bin","_id":"optipng-stream-bin@0.0.5","dist":{"shasum":"bb2a891a2f47e057181606858477b6c47c66e585","size":1307,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.5.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.3.24","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"directories":{},"publish_time":1393788248894,"_cnpm_publish_time":1393788248894,"_hasShrinkwrap":false},"0.0.4":{"name":"optipng-stream-bin","version":"0.0.4","description":"Wrapper around optipng-bin for reading PNG data from STDIN and writing optimized output to STDOUT","keywords":["png","compress","minify","optimize","img","image","stream"],"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"main":"index","bin":{"optipng-stream":"bin/optipng-stream"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha"},"engines":{"node":">=0.10.0"},"licenses":[{"type":"BSD"}],"dependencies":{"tmp":"~0.0.23","optipng-bin":"~0.3.0","concat-stream":"~1.4.1","filesize":"~2.0.0"},"devDependencies":{"mocha":"*","rimraf":"*","multipipe":"*"},"files":["bin"],"bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"homepage":"https://github.com/ameyp/optipng-stream-bin","_id":"optipng-stream-bin@0.0.4","dist":{"shasum":"33d2508af062e4403af0259e855d1b2d72b17dc5","size":1211,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.4.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.3.24","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"directories":{},"publish_time":1393788029695,"_cnpm_publish_time":1393788029695,"_hasShrinkwrap":false},"0.0.3":{"name":"optipng-stream-bin","version":"0.0.3","description":"Wrapper around optipng-bin for reading PNG data from STDIN and writing optimized output to STDOUT","keywords":["png","compress","minify","optimize","img","image","stream"],"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"main":"index","bin":{"optipng-stream":"bin/optipng-stream"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha"},"engines":{"node":">=0.10.0"},"licenses":[{"type":"BSD"}],"dependencies":{"tmp":"*","optipng-bin":"*","concat-stream":"*"},"devDependencies":{"mocha":"*","rimraf":"*","multipipe":"*"},"files":["bin"],"bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"homepage":"https://github.com/ameyp/optipng-stream-bin","_id":"optipng-stream-bin@0.0.3","dist":{"shasum":"bcfcebef5c23274d83604adcc15282be5c43590c","size":1178,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.3.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.3.24","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"directories":{},"publish_time":1393611494264,"_cnpm_publish_time":1393611494264,"_hasShrinkwrap":false},"0.0.2":{"name":"optipng-stream-bin","version":"0.0.2","description":"Wrapper around optipng-bin for reading PNG data from STDIN and writing optimized output to STDOUT","keywords":["png","compress","minify","optimize","img","image","stream"],"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"main":"index","bin":{"optipng-stream":"bin/optipng-stream"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha"},"engines":{"node":">=0.10.0"},"licenses":[{"type":"BSD"}],"dependencies":{"tmp":"*","optipng-bin":"*","concat-stream":"*"},"devDependencies":{"mocha":"*","rimraf":"*","multipipe":"*"},"files":["bin"],"bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"homepage":"https://github.com/ameyp/optipng-stream-bin","_id":"optipng-stream-bin@0.0.2","dist":{"shasum":"6ade058a56c28b631eef2a15fc42828ccd8ec2f2","size":1187,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.2.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.3.24","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"directories":{},"publish_time":1393606642151,"_cnpm_publish_time":1393606642151,"_hasShrinkwrap":false},"0.0.1":{"name":"optipng-stream-bin","version":"0.0.1","description":"Wrapper around optipng-bin for reading PNG data from STDIN and writing optimized output to STDOUT","keywords":["png","compress","minify","optimize","img","image","stream"],"author":{"name":"Amey Parulekar","email":"amey@wirywolf.com","url":"http://wirywolf.com"},"maintainers":[{"name":"ameyp","email":"amey@wirywolf.com"}],"main":"index","bin":{"optipng-stream":"bin/optipng-stream"},"repository":{"type":"git","url":"git://github.com/ameyp/optipng-stream-bin.git"},"scripts":{"test":"mocha"},"engines":{"node":">=0.10.0"},"licenses":[{"type":"BSD"}],"dependencies":{"tmp":"*","optipng-bin":"*","concat-stream":"*"},"devDependencies":{"mocha":"*","rimraf":"*","multipipe":"*"},"files":["bin"],"bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"homepage":"https://github.com/ameyp/optipng-stream-bin","_id":"optipng-stream-bin@0.0.1","dist":{"shasum":"279a928531ec2eb1d0d1b0c0fe32a62934f2cdc3","size":1191,"noattachment":false,"key":"/optipng-stream-bin/-/optipng-stream-bin-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/optipng-stream-bin/download/optipng-stream-bin-0.0.1.tgz"},"_from":"optipng-stream-bin","_npmVersion":"1.3.24","_npmUser":{"name":"ameyp","email":"amey@wirywolf.com"},"directories":{},"publish_time":1393606444539,"_cnpm_publish_time":1393606444539,"_hasShrinkwrap":false}},"readme":"# [optipng](http://optipng.sourceforge.net)-stream-bin [![Build Status](https://secure.travis-ci.org/ameyp/optipng-stream-bin.png?branch=master)](http://travis-ci.org/ameyp/optipng-stream-bin)\n\n*Issues with the output should be reported on the image-min [issue tracker](https://github.com/kevva/image-min/issues).*\n\nThis is a wrapper around [node-optipng-bin](https://github.com/yeoman/node-optipng-bin)\nto add support for reading input PNG data from `STDIN` and writing the generated\noutput PNG data to `STDOUT`. The module is intended to be used only as a binary\nin the same style as modules that use [bin-wrapper](https://github.com/kevva/bin-wrapper).\nIt cannot be used in any other fashion.\n\n## Usage\n\n```js\nvar fs = require('fs');\nvar optipng = require('optipng-stream-bin').path;\nvar spawn = require('child_process').spawn;\n\nvar cp = spawn(optipng, ['-o2']);\nvar read = fs.createReadStream('test.png');\nvar write = fs.createWriteStream('test-optimized.png');\n\nread.pipe(cp.stdin);\ncp.stdout.pipe(write);\n```\n\n## License\n\nMIT © [Amey Parulekar](http://wirywolf.com)\n","_attachments":{},"homepage":"https://github.com/ameyp/optipng-stream-bin","bugs":{"url":"https://github.com/ameyp/optipng-stream-bin/issues"},"license":"MIT"}