{"_id":"wrap-stream","_rev":"11-342b98c11717f86aaf74b102afa46f8d","name":"wrap-stream","description":"Wrap the output of a stream with a prefix and/or suffix","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.0":{"name":"wrap-stream","description":"Wrap the output of a stream with a prefix and/or suffix","version":"0.0.0","main":"index.js","browser":"index.js","dependencies":{"through":"~2.3.4"},"devDependencies":{"tape":"~1.1.1","concat-stream":"~1.0.1"},"scripts":{"test":"node test"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://github.com/hughsk"},"license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/wrap-stream"},"bugs":{"url":"https://github.com/hughsk/wrap-stream/issues"},"keywords":["wrap","prefix","suffix","stream","output"],"_id":"wrap-stream@0.0.0","dist":{"shasum":"d22a63a3444796e48f686d6fbb873c4848f28d6e","tarball":"https://registry.npmjs.org/wrap-stream/-/wrap-stream-0.0.0.tgz","integrity":"sha512-+RxPy7GHDWByua/fsjTDlPtnHVKuytgcwo/ZDirzqUj9HEapHmI6d9J5VxIJCPnZ5SPET8u66iCZSfvbhBaWYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTmb/+1ejHZULM6HW5yC4V2sjWjcDK74LvKQInkQE7oAIhAO7vbJNe4AJHHNR7xbq8QYTTXVXWENj7tl+DD8aV0ztk"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}]},"2.0.0":{"name":"wrap-stream","description":"Wrap the output of a stream with a prefix and/or suffix","version":"2.0.0","main":"index.js","browser":"index.js","dependencies":{"through2":"^0.4.2"},"devDependencies":{"tape":"~1.1.1","concat-stream":"~1.0.1"},"scripts":{"test":"node test"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://github.com/hughsk"},"contributors":"jden <jason@denizac.org","license":"MIT","repository":{"type":"git","url":"git://github.com/hughsk/wrap-stream"},"bugs":{"url":"https://github.com/hughsk/wrap-stream/issues"},"keywords":["wrap","prefix","suffix","stream","output"],"gitHead":"d4f2e8b4ec2f83d7852256221be364c4638623b1","homepage":"https://github.com/hughsk/wrap-stream","_id":"wrap-stream@2.0.0","_shasum":"a800753de07a5e022b37a90de82f2ac0bd473830","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"a800753de07a5e022b37a90de82f2ac0bd473830","tarball":"https://registry.npmjs.org/wrap-stream/-/wrap-stream-2.0.0.tgz","integrity":"sha512-tkkY1/6as9DLMHFgdfPxukaiEwekKx4bWXsjDuzTWOrIJbA73pDpn6Pql+sEozZ9wBbtlfdV5/yeZDw9/yoZVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLaEHPjujpSXhoEPox6dImxDsFHRKkLLixikNyNHgvDgIhANlIdLVghMeJhTPe3KWxUG6z6Rg1E1U30uZTEYr6vho0"}]}}},"readme":"# wrap-stream [![unstable](http://hughsk.github.io/stability-badges/dist/unstable.svg)](http://github.com/hughsk/stability-badges) #\n\nWrap the output of a stream with a prefix and/or suffix.\n\nStreams2 compliant.\n\n## Usage ##\n\n[![wrap-stream](https://nodei.co/npm/wrap-stream.png?mini=true)](https://nodei.co/npm/wrap-stream)\n\n### `wrap(pre, post)` ###\n\nReturns a through stream that adds `pre` before any other output and `post`\nafter calling `stream.end()`.\n\n``` javascript\nvar wrap = require('wrap-stream')\nvar fs = require('fs')\n\nfs.createReadStream(__filename)\n  .pipe(wrap('hello', 'world'))\n  .pipe(process.stdout)\n```\n\nIf you'd prefer not to use either of `pre` or `post`, just pass `null` in its\nplace.\n\n``` javascript\nvar wrap = require('wrap-stream')\nvar fs = require('fs')\n\nfs.createReadStream(__filename)\n  .pipe(wrap(null, 'lorem ipsum'))\n  .pipe(process.stdout)\n```\n\n## License ##\n\nMIT. See [LICENSE.md](http://github.com/hughsk/wrap-stream/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"time":{"modified":"2022-06-29T03:44:18.088Z","created":"2013-10-06T07:33:44.374Z","0.0.0":"2013-10-06T07:33:55.389Z","2.0.0":"2014-07-29T22:21:17.211Z"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://github.com/hughsk"},"repository":{"type":"git","url":"git://github.com/hughsk/wrap-stream"},"users":{"jden":true,"jsdnxx":true},"keywords":["wrap","prefix","suffix","stream","output"],"bugs":{"url":"https://github.com/hughsk/wrap-stream/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/hughsk/wrap-stream","contributors":"jden <jason@denizac.org"}