{"_id":"gulp-tap","_rev":"1954071","name":"gulp-tap","description":"Easiest way to tap into a pipeline","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"time":{"modified":"2021-12-13T12:51:50.000Z","created":"2014-01-13T06:43:45.211Z","2.0.0":"2019-08-19T16:17:52.976Z","1.0.1":"2017-05-03T00:32:23.612Z","0.4.2":"2017-04-11T00:05:44.182Z","0.4.1":"2017-04-10T17:43:15.231Z","0.4.0":"2017-04-10T17:41:19.230Z","0.1.3":"2014-09-29T04:57:35.270Z","0.1.2":"2014-09-28T12:32:42.119Z","0.1.1":"2014-01-13T22:43:15.486Z","0.1.0":"2014-01-13T06:43:45.211Z"},"users":{"morritza":true,"db6edr":true,"h4des":true,"scopevale":true,"brandonpapworth":true,"joaocunha":true,"fyddaben":true,"heck":true,"dogancelik":true,"dwayneford":true,"neefrankie":true,"gerst20051":true,"arahnoid":true,"a7madev":true,"wangwen1220":true,"broxmgs":true,"peunzhang":true,"rubiadias":true,"fanus":true,"gmarciani":true,"mariolopjr":true,"monjer":true,"dennykuo":true,"cognivator":true,"johnsonj":true,"tdmalone":true,"areasis":true,"maxwang":true,"frankl83":true,"valentinbrclz":true,"carlosvillademor":true,"itonyyo":true,"cygik":true,"xiaojunbo":true,"gormus":true,"adammacias":true},"repository":{"type":"git","url":"git+https://github.com/geejs/gulp-tap.git"},"versions":{"2.0.0":{"name":"gulp-tap","version":"2.0.0","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"pretest":"coffee --compile --map tests","test":"tap -J tests/*.js","posttest":"rm tests/*.js tests/*.js.map","test:cov":"npm test -- --cov","coffee":"coffee","dev":"coffee --watch --compile tests & coffee --watch --compile src"},"repository":{"type":"git","url":"git+https://github.com/geejs/gulp-tap.git"},"keywords":["tap","gulp","stream"],"authors":["Mario Gutierrez <mario@mgutz.com>","Rubén Salvador García San Juan <rssanjuan2704@gmail.com>","Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>","Javey <jiawei23716@sina.com>"],"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"through2":"^3.0.1"},"devDependencies":{"coffee-script":"^1.12.4","coveralls":"^3.0.5","gulp":"^4.0.2","tap":"^14.4.1"},"gitHead":"e82f4f2623b04b9465d5c6008b00c9be6ebec5a8","_id":"gulp-tap@2.0.0","_nodeVersion":"12.8.0","_npmVersion":"6.10.3","dist":{"shasum":"6f66b79870dcbfc364cf4ebe0735b6008473200f","size":5192,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-2.0.0.tgz"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"_npmUser":{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-tap_2.0.0_1566231472874_0.0010408917117625816"},"_hasShrinkwrap":false,"publish_time":1566231472976,"_cnpm_publish_time":1566231472976},"1.0.1":{"name":"gulp-tap","version":"1.0.1","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"pretest":"coffee --compile --map tests","test":"tap -J tests/*.js","posttest":"rm tests/*.js tests/*.js.map","test:cov":"npm test -- --cov","coffee":"coffee","dev":"coffee --watch --compile tests & coffee --watch --compile src"},"repository":{"type":"git","url":"git+https://github.com/geejs/gulp-tap.git"},"keywords":["tap","gulp","stream"],"authors":["Mario Gutierrez <mario@mgutz.com>","Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>","Javey <jiawei23716@sina.com>"],"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"through2":"^2.0.3"},"devDependencies":{"coffee-script":"^1.12.4","coveralls":"^2.13.0","gulp":"^3.9.1","tap":"^10.3.1"},"gitHead":"41ca1a68f62c17e7696dd59b0c73f4280dffc6c6","_id":"gulp-tap@1.0.1","_shasum":"e671124e1259b4cea219ed1ca97b7f585c334690","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},"dist":{"shasum":"e671124e1259b4cea219ed1ca97b7f585c334690","size":5311,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-1.0.1.tgz"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-tap-1.0.1.tgz_1493771541809_0.8978773672133684"},"directories":{},"publish_time":1493771543612,"_hasShrinkwrap":false,"_cnpm_publish_time":1493771543612},"0.4.2":{"name":"gulp-tap","version":"0.4.2","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"pretest":"coffee --compile --map tests","test":"tap -J tests/*.js","posttest":"rm tests/*.js tests/*.js.map","test:coverage":"npm test -- --cov","coffee":"coffee"},"repository":{"type":"git","url":"git+https://github.com/geejs/gulp-tap.git"},"keywords":["tap","gulp","stream"],"authors":["Mario Gutierrez <mario@mgutz.com>","Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>","Javey <jiawei23716@sina.com>"],"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"through2":"^2.0.3"},"devDependencies":{"coffee-script":"^1.12.4","coveralls":"^2.13.0","gulp":"^3.9.1","tap":"^10.3.1"},"gitHead":"bbcc5c37bca293c599fb7b7e215cd17601d199b3","_id":"gulp-tap@0.4.2","_shasum":"558b302e6b66cf752142a33104c387081a6d5cec","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},"dist":{"shasum":"558b302e6b66cf752142a33104c387081a6d5cec","size":5058,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.4.2.tgz"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/gulp-tap-0.4.2.tgz_1491869143327_0.14662102283909917"},"directories":{},"publish_time":1491869144182,"_cnpm_publish_time":1491869144182,"_hasShrinkwrap":false},"0.4.1":{"name":"gulp-tap","version":"0.4.1","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"pretest":"coffee --compile --map tests","test":"tap -J tests/*.js","posttest":"rm tests/*.js tests/*.js.map","test:coverage":"npm test -- --cov","coffee":"coffee"},"repository":{"type":"git","url":"git+https://github.com/dotnetCarpenter/gulp-tap.git"},"keywords":["tap","gulp","stream"],"authors":["Mario Gutierrez <mario@mgutz.com>","Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>","Javey <jiawei23716@sina.com>"],"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"through2":"^2.0.3"},"devDependencies":{"coffee-script":"^1.12.4","coveralls":"^2.13.0","gulp":"^3.9.1","tap":"^10.3.1"},"gitHead":"d3e0713689688911e4f3e318bc8e8162e569b234","_id":"gulp-tap@0.4.1","_shasum":"59826d0dc2ee5b37b5c77e77a8903c6b3741dea8","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},"dist":{"shasum":"59826d0dc2ee5b37b5c77e77a8903c6b3741dea8","size":5072,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.4.1.tgz"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-tap-0.4.1.tgz_1491846193335_0.601722484221682"},"directories":{},"publish_time":1491846195231,"_hasShrinkwrap":false,"_cnpm_publish_time":1491846195231},"0.4.0":{"name":"gulp-tap","version":"0.4.0","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"pretest":"coffee --compile --map tests","test":"tap -J tests/*.js","posttest":"rm tests/*.js tests/*.js.map","test:coverage":"npm test -- --cov","coffee":"coffee"},"repository":{"type":"git","url":"git+https://github.com/dotnetCarpenter/gulp-tap.git"},"keywords":["tap","gulp","stream"],"authors":["Mario Gutierrez <mario@mgutz.com>","Jon Ege Ronnenberg <jon.ronnenberg@gmail.com>","Javey <jiawei23716@sina.com>"],"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"through2":"^2.0.3"},"devDependencies":{"coffee-script":"^1.12.4","coveralls":"^2.13.0","gulp":"^3.9.1","tap":"^10.3.1"},"gitHead":"d3e0713689688911e4f3e318bc8e8162e569b234","_id":"gulp-tap@0.4.0","_shasum":"2320d674f233580b8a9ce9e7bbc79a4c8726284a","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},"dist":{"shasum":"2320d674f233580b8a9ce9e7bbc79a4c8726284a","size":5068,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.4.0.tgz"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-tap-0.4.0.tgz_1491846068912_0.5168876387178898"},"directories":{},"publish_time":1491846079230,"_cnpm_publish_time":1491846079230,"_hasShrinkwrap":false},"0.1.3":{"name":"gulp-tap","version":"0.1.3","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/geejs/gulp-tap"},"keywords":["gulpplugin","gulp","gee"],"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"event-stream":"~3.1.0"},"gitHead":"3ca2ecc7e44db419e829e78a4466204acb39ae82","_id":"gulp-tap@0.1.3","_shasum":"120dca2901e76fb84d5cb4ad5f37cad0156361e4","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"mgutz","email":"mario@mgutz.com"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"dist":{"shasum":"120dca2901e76fb84d5cb4ad5f37cad0156361e4","size":2815,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.1.3.tgz"},"directories":{},"publish_time":1411966655270,"_cnpm_publish_time":1411966655270,"_hasShrinkwrap":false},"0.1.2":{"name":"gulp-tap","version":"0.1.2","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/geejs/gulp-tap"},"keywords":["gulpplugin","gulp","gee"],"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"event-stream":"~3.1.0"},"gitHead":"7f51edea311df54062d89818893b4dbc885491b6","_id":"gulp-tap@0.1.2","_shasum":"ea6e613f0360f4580851f555dd720e828635a925","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"mgutz","email":"mario@mgutz.com"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"dist":{"shasum":"ea6e613f0360f4580851f555dd720e828635a925","size":2636,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.1.2.tgz"},"directories":{},"publish_time":1411907562119,"_cnpm_publish_time":1411907562119,"_hasShrinkwrap":false},"0.1.1":{"name":"gulp-tap","version":"0.1.1","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/geejs/gulp-tap"},"keywords":["gulpplugin","gulp","gee"],"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"event-stream":"~3.1.0"},"readmeFilename":"README.md","_id":"gulp-tap@0.1.1","dist":{"shasum":"96aec828bc13a5505194141f5f529457b84acf23","size":2623,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mgutz","email":"mario@mgutz.com"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"directories":{},"publish_time":1389652995486,"_cnpm_publish_time":1389652995486,"_hasShrinkwrap":false},"0.1.0":{"name":"gulp-tap","version":"0.1.0","description":"Easiest way to tap into a pipeline","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/geejs/gulp-tap"},"keywords":["gulpplugin","gulp","gee"],"author":{"name":"Mario Gutierrez","email":"mario@mgutz.com"},"license":"MIT","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"homepage":"https://github.com/geejs/gulp-tap","dependencies":{"event-stream":"~3.1.0"},"devDependencies":{"gulp-coffee":"~1.2.5","gulp":"~3.3.1","gee":"git://github.com/geejs/gee"},"readmeFilename":"README.md","_id":"gulp-tap@0.1.0","dist":{"shasum":"8739b7b4bd789352316acf73901c1cfc34822b7e","size":1995,"noattachment":false,"key":"/gulp-tap/-/gulp-tap-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/gulp-tap/download/gulp-tap-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mgutz","email":"mario@mgutz.com"},"maintainers":[{"name":"dotnetcarpenter","email":"jon.ronnenberg@gmail.com"},{"name":"mgutz","email":""}],"directories":{},"publish_time":1389595425211,"_cnpm_publish_time":1389595425211,"_hasShrinkwrap":false}},"readme":"# gulp-tap [![Build Status](https://travis-ci.org/geejs/gulp-tap.svg?branch=master)](https://travis-ci.org/geejs/gulp-tap) [![Coverage Status](https://coveralls.io/repos/github/geejs/gulp-tap/badge.svg?branch=master)](https://coveralls.io/github/geejs/gulp-tap?branch=master) [![Dependencies Status](https://david-dm.org/geejs/gulp-tap.svg)](https://david-dm.org/geejs/gulp-tap)\n\nEasily tap into a pipeline.\n\n## Install\n\n`npm install gulp-tap --save-dev`\n\n## Uses\n\nSome filters like `gulp-coffee` process all files. What if you want to process\nall JS and Coffee files in a single pipeline. Use `tap` to filter out `.coffee`\nfiles and process them through the `coffee` filter and let JavaScript files\npass through.\n\n```js\ngulp.src(\"src/**/*.{coffee,js}\")\n    .pipe(tap(function(file, t) {\n        if (path.extname(file.path) === '.coffee') {\n            return t.through(coffee, []);\n        }\n    }))\n    .pipe(gulp.dest('build'));\n```\n\nWhat if you want to change content like add a header? No need for a separate\nfilter, just change the content.\n\n```js\ntap(function(file) {\n    file.contents = Buffer.concat([\n        new Buffer('HEADER'),\n        file.contents\n    ]);\n});\n```\n\nIf you do not return a stream, tap forwards your changes.\n\n## Examples\n\nSee [Wiki](https://github.com/geejs/gulp-tap/wiki) for more examples.\n\n## License\n\nThe MIT License (MIT)\n","_attachments":{},"homepage":"https://github.com/geejs/gulp-tap","bugs":{"url":"https://github.com/geejs/gulp-tap/issues"},"license":"MIT"}