{"_id":"gulp-foreach","_rev":"31-dbe9512c7c217f7625b754511d3f4090","name":"gulp-foreach","description":"Send each file in a stream down its own stream","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"gulp-foreach","version":"0.0.0","description":"Send each file in a stream down its own stream","license":"MIT","repository":{"type":"git","url":"git://github.com/mariusGundersen/gulp-forEach"},"author":{"name":"Marius Gundersen","email":"me@mariusgundersen.net","url":"https://github.com/mariusGundersen"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin foreach split fork divide separate map gulp"],"dependencies":{"gulp-util":"~2.2.14","through":"~2.3.4"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/mariusGundersen/gulp-forEach/issues"},"homepage":"https://github.com/mariusGundersen/gulp-forEach","_id":"gulp-foreach@0.0.0","dist":{"shasum":"69feaeabf0081f64bad4877c98ca26bc21786ba3","tarball":"https://registry.npmjs.org/gulp-foreach/-/gulp-foreach-0.0.0.tgz","integrity":"sha512-JGIJuy/rOdFPcBHd1zT3V5qQRmalOFwa+NpJKEKNwsgCM4aUMlJvc14RCcqaiSQveN5HjSDEv0r2rEj6srLveg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmNHYIWRZ+Qe5C/hqzQG9dgqaa/y6NDnGd8hsaqXqIzAiEA1WgaqUXTSkiH7tTJPK1ami1GhlXM9rhRVQ9pO0zLwXw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mariusgundersen","email":"npm@mariusgundersen.net"},"maintainers":[{"name":"mariusgundersen","email":"npm@mariusgundersen.net"}],"deprecated":"Either use gulp-tap or gulp-flatmap, depending on your needs"},"0.0.1":{"name":"gulp-foreach","version":"0.0.1","description":"Send each file in a stream down its own stream","license":"MIT","repository":{"type":"git","url":"git://github.com/mariusGundersen/gulp-forEach"},"author":{"name":"Marius Gundersen","email":"me@mariusgundersen.net","url":"https://github.com/mariusGundersen"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","forEach","split","fork","divide","separate","map","gulp"],"dependencies":{"gulp-util":"~2.2.14","through":"~2.3.4"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/mariusGundersen/gulp-forEach/issues"},"_id":"gulp-foreach@0.0.1","dist":{"shasum":"d3ff554fcdcdbbebdc4aa4fc5a41441d3c6f7567","tarball":"https://registry.npmjs.org/gulp-foreach/-/gulp-foreach-0.0.1.tgz","integrity":"sha512-PzumGoKMZvL/E55mT/XMXQxuDfD8n1CMm83nC4h8HkFVN4C3xovIwpj4GjKFr8Puq2i+owfSwOaVOfDrEV8oHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJMGVMVtMpnpnCyZpi1Vhxngv5O1pRFnmwalnd/dhHXAiBHpW2a0OywDLWDhXmrlhbPL6VgC95GOFJlZARVve+Ksw=="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"mariusgundersen","email":"npm@mariusgundersen.net"},"maintainers":[{"name":"mariusgundersen","email":"npm@mariusgundersen.net"}],"deprecated":"Either use gulp-tap or gulp-flatmap, depending on your needs"},"0.1.0":{"name":"gulp-foreach","version":"0.1.0","description":"Send each file in a stream down its own stream","license":"MIT","repository":{"type":"git","url":"https://github.com/mariusGundersen/gulp-forEach"},"author":{"name":"Marius Gundersen","email":"me@mariusgundersen.net","url":"https://github.com/mariusGundersen"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["gulpplugin","forEach","split","fork","divide","separate","map","gulp"],"dependencies":{"gulp-util":"~2.2.14","through2":"~0.6.3"},"devDependencies":{"mocha":"*"},"gitHead":"643ba14835d7c4d4d8ff01734411d0a1daec5d62","bugs":{"url":"https://github.com/mariusGundersen/gulp-forEach/issues"},"homepage":"https://github.com/mariusGundersen/gulp-forEach","_id":"gulp-foreach@0.1.0","_shasum":"2547abfd1a1b75f569b54194190ef1c0b0289538","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mariusgundersen","email":"npm@mariusgundersen.net"},"maintainers":[{"name":"mariusgundersen","email":"npm@mariusgundersen.net"}],"dist":{"shasum":"2547abfd1a1b75f569b54194190ef1c0b0289538","tarball":"https://registry.npmjs.org/gulp-foreach/-/gulp-foreach-0.1.0.tgz","integrity":"sha512-Bv5NwUxtE5X7sjwHyBjVih5cvqEFypHzb1sZywoSSXGCs/Rh7TazjRSXYk07JhMjqQ7oYRtZ6QyWo5ZmZjMGMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwoWFHnJdhHtjaCjYNute5DpYJuKYbMM7Ivi1i/UQyUAIgMXKHfLIa+2Alwen6nfKuas7WjN2zyAu9c6Cin6pMBYE="}]},"deprecated":"Either use gulp-tap or gulp-flatmap, depending on your needs"}},"readme":"# [gulp](http://gulpjs.com)-foreach\r\n\r\n> Send each file in a stream down its own stream\r\n\r\n\r\n## Install\r\n\r\n```bash\r\n$ npm install --save-dev gulp-foreach\r\n```\r\n\r\n\r\n## Usage\r\n\r\n```js\r\nvar gulp = require('gulp');\r\nvar foreach = require('gulp-foreach');\r\n\r\ngulp.task('default', function () {\r\n  return gulp.src('src/*.js')\r\n    .pipe(foreach(function(stream, file){\r\n      return stream\r\n        .pipe(doSomethingWithEachFileIndividually())\r\n        .pipe(concat(file.name));\r\n    }))\r\n    .pipe(gulp.dest('dist'));\r\n});\r\n```\r\n\r\n\r\n## API\r\n\r\nThe foreach method takes one argument, a function. This function is called once for each file piped to `foreach` and is passed a stream as its first argument and the file as its second argument. The stream contains only one file.\r\n\r\nYou can optionally return a stream from the `foreach` function. All the streams returned from `foreach` will be combined and their contents will be emited by `foreach`. \r\n\r\n## License\r\n\r\nMIT © [Marius Gundersen](https://github.com/mariusGundersen)\r\n","maintainers":[{"name":"mariusgundersen","email":"npm@mariusgundersen.net"}],"time":{"modified":"2022-06-18T17:06:52.682Z","created":"2014-05-01T15:07:02.681Z","0.0.0":"2014-05-01T15:07:02.681Z","0.0.1":"2014-05-24T16:10:44.743Z","0.1.0":"2014-12-12T12:47:24.268Z"},"keywords":["gulpplugin","forEach","split","fork","divide","separate","map","gulp"],"repository":{"type":"git","url":"https://github.com/mariusGundersen/gulp-forEach"},"author":{"name":"Marius Gundersen","email":"me@mariusgundersen.net","url":"https://github.com/mariusGundersen"},"bugs":{"url":"https://github.com/mariusGundersen/gulp-forEach/issues"},"license":"MIT","readmeFilename":"readme.md","homepage":"https://github.com/mariusGundersen/gulp-forEach","users":{"vnncctt":true,"tobiasalthoff":true,"wendellm":true,"bnu":true,"kontrax":true,"adrienhobbs":true,"sapronlee":true,"rubiadias":true,"fanus":true,"whitelynx":true,"gor0n":true,"tdmalone":true,"valentinbrclz":true,"allenmoore":true,"caikan":true}}