{"_id":"transfob","_rev":"3-585c5602e2eb25a1b9c524278fe86086","name":"transfob","description":"get a transform stream, like through2.obj()","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"transfob","version":"1.0.0","description":"get a transform stream, like through2.obj()","main":"transfob.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/metafizzy/transfob.git"},"keywords":["stream","transform","gulp"],"author":{"name":"David DeSandro"},"license":"MIT","bugs":{"url":"https://github.com/metafizzy/transfob/issues"},"homepage":"https://github.com/metafizzy/transfob#readme","gitHead":"c2e95d8cda023281266b19af9d37b38bad40caca","_id":"transfob@1.0.0","_shasum":"c7fc27a5b5430ad486267ae666d923f74a0ab320","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"desandro","email":"desandrocodes@gmail.com"},"maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"dist":{"shasum":"c7fc27a5b5430ad486267ae666d923f74a0ab320","tarball":"https://registry.npmjs.org/transfob/-/transfob-1.0.0.tgz","integrity":"sha512-8pltyWUhEM8NJdYRt5mUlnLEImxozXnmAkD4xL9MKTFyNiKuraibTiXnGbjuxtQdP9CzihRy4PR+Al7Iy2cmCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp6rgg/6Gl1EvafESFAWetiFZo+IGCiyTjHbT/kMQQqAIgSdAZvamqMU6Z0yX7PAiHmaMhS2LBNKUMckuMvmPdEEQ="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/transfob-1.0.0.tgz_1478092290292_0.6146141800563782"}}},"readme":"# transfob\n\nGet a transform stream, like `through2.obj()`. Useful for gulp tasks where you want to iterate over files.\n\n``` js\nvar transfob = require('transfob');\n\n// convert files to JS object\nvar data = {};\n\ngulp.task( 'data', function() {\n  return gulp.src('data/*.md')\n    .pipe( transfob( function( file, enc, next ) {\n      var basename = path.basename( file.path, path.extname( file.path ) );\n      data[ file.path ] = file.contents.toString();\n      next( null, file );\n    }) );\n});\n```\n","maintainers":[{"name":"desandro","email":"desandrocodes@gmail.com"}],"time":{"modified":"2022-06-27T20:10:17.687Z","created":"2016-11-02T13:11:30.814Z","1.0.0":"2016-11-02T13:11:30.814Z"},"homepage":"https://github.com/metafizzy/transfob#readme","keywords":["stream","transform","gulp"],"repository":{"type":"git","url":"git+https://github.com/metafizzy/transfob.git"},"author":{"name":"David DeSandro"},"bugs":{"url":"https://github.com/metafizzy/transfob/issues"},"license":"MIT","readmeFilename":"README.md"}