{"_id":"gulp-file","_rev":"23-6ac66cbe24f04568b8184cd9c2f012fd","name":"gulp-file","description":"Create vinyl files from a string or buffer and insert into the Gulp pipeline.","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"gulp-file","version":"0.1.0","description":"Create vinyl files from a string or buffer and insert into the Gulp pipeline.","main":"./lib/file.js","scripts":{"test":"./node_modules/mocha/bin/mocha test --recursive --reporter spec"},"repository":{"type":"git","url":"git://github.com/alexmingoia/gulp-file.git"},"keywords":["gulp","plugin","string","buffer","file","vinyl"],"author":{"name":"Alex Mingoia","email":"talk@alexmingoia.com"},"license":"BSD","bugs":{"url":"https://github.com/alexmingoia/gulp-file/issues"},"homepage":"https://github.com/alexmingoia/gulp-file","dependencies":{"through2":"^0.4.1","gulp-util":"^2.2.14"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^1.18.2","gulp":"^3.6.2"},"_id":"gulp-file@0.1.0","dist":{"shasum":"4a47570951f18056ee61b4c86f70a0a40e1a2f6c","tarball":"https://registry.npmjs.org/gulp-file/-/gulp-file-0.1.0.tgz","integrity":"sha512-WYB34i+r2niF24wT/4PSl1v6NjkP8hgRZDxAHN+l9/TmQJRqPC2SWeqMlfqXa6GTMR461KWbnn1fFuyEye2Uqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9LSuU8+yfcnn0YMwZ4Tr0jFrT8cM+i7VvBXdJMafOVQIgAvlvEnJMvxZZWQRVIYvJdUwJqHBBuINNTLut1fu7c/s="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.2.0":{"name":"gulp-file","version":"0.2.0","description":"Create vinyl files from a string or buffer and insert into the Gulp pipeline.","main":"./lib/file.js","scripts":{"test":"./node_modules/mocha/bin/mocha test --recursive --reporter spec"},"repository":{"type":"git","url":"git://github.com/alexmingoia/gulp-file.git"},"keywords":["gulp","plugin","string","buffer","file","vinyl"],"author":{"name":"Alex Mingoia","email":"talk@alexmingoia.com"},"license":"BSD","bugs":{"url":"https://github.com/alexmingoia/gulp-file/issues"},"homepage":"https://github.com/alexmingoia/gulp-file","dependencies":{"through2":"^0.4.1","gulp-util":"^2.2.14"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^1.18.2","gulp":"^3.6.2"},"gitHead":"7b019767f0779e92f9230f77e256ac5e55f44196","_id":"gulp-file@0.2.0","_shasum":"9e9446a583419821834217cf6eebda59dd612435","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"9e9446a583419821834217cf6eebda59dd612435","tarball":"https://registry.npmjs.org/gulp-file/-/gulp-file-0.2.0.tgz","integrity":"sha512-C4drVRxXczb5vB3aufXdYT0tUcXXMzqL+GUkUILCZpEmMD8bSZUjm0LxQF67JGm6ViuQGhKB1IqNd9kEKpya/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoajHi2xXFTtbuBZJwfa2g+nC466bkUlRMbdfEq5qVzQIgWqd41DfhfGsB/xdnaNQLBfu6u/CWlxbqjD5ZfVomGOc="}]}},"0.3.0":{"name":"gulp-file","version":"0.3.0","description":"Create vinyl files from a string or buffer and insert into the Gulp pipeline.","main":"./lib/file.js","scripts":{"test":"./node_modules/mocha/bin/mocha test --recursive --reporter spec"},"repository":{"type":"git","url":"git://github.com/alexmingoia/gulp-file.git"},"keywords":["gulp","plugin","string","buffer","file","vinyl"],"author":{"name":"Alex Mingoia","email":"talk@alexmingoia.com"},"license":"BSD","bugs":{"url":"https://github.com/alexmingoia/gulp-file/issues"},"homepage":"https://github.com/alexmingoia/gulp-file","dependencies":{"through2":"^0.4.1","gulp-util":"^2.2.14"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^1.18.2","gulp":"^3.6.2"},"gitHead":"f3cc11a12e3e8b9739f32181fdb290eae6a392a6","_id":"gulp-file@0.3.0","_shasum":"e8c4d763f126fb3332fc416e3d1ef46ed67d8d0d","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.1.0","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"dist":{"shasum":"e8c4d763f126fb3332fc416e3d1ef46ed67d8d0d","tarball":"https://registry.npmjs.org/gulp-file/-/gulp-file-0.3.0.tgz","integrity":"sha512-DgqfuL2/4xTXC58+iSBTX/zVVO4mOcc6D9G+lSh+1piJYVwKmkH3JXztXrbp13Nk9gbymvL/TIt6I2mMo02RBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYUg2in5UJY4oSVmpTnvU1x9Hk+Qc3YW5xS9UAW6OZTAiBIamNDPdQ3JpQs/A+DsPuKlhGncx3gLv4ScfBDcuGmbA=="}]},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gulp-file-0.3.0.tgz_1462509958877_0.2740449132397771"}},"0.4.0":{"name":"gulp-file","version":"0.4.0","description":"Create vinyl files from a string or buffer and insert into the Gulp pipeline.","main":"./lib/file.js","scripts":{"test":"./node_modules/mocha/bin/mocha test --recursive --reporter spec"},"repository":{"type":"git","url":"git://github.com/alexmingoia/gulp-file.git"},"keywords":["gulp","plugin","string","buffer","file","vinyl"],"author":{"name":"Alex Mingoia","email":"talk@alexmingoia.com"},"license":"BSD","bugs":{"url":"https://github.com/alexmingoia/gulp-file/issues"},"homepage":"https://github.com/alexmingoia/gulp-file","dependencies":{"through2":"^0.4.1","vinyl":"^2.1.0"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^1.18.2","gulp":"^3.6.2"},"gitHead":"e00985d985f4aa54148f1ee02779e2e1623de3ac","_id":"gulp-file@0.4.0","_shasum":"451356a2ac5089c6db91a0444252a0543657006b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"ninjabryan","email":"ninjabryan@gmail.com"},"dist":{"shasum":"451356a2ac5089c6db91a0444252a0543657006b","tarball":"https://registry.npmjs.org/gulp-file/-/gulp-file-0.4.0.tgz","integrity":"sha512-3NPCJpAPpbNoV2aml8T96OK3Aof4pm4PMOIa1jSQbMNSNUUXdZ5QjVgLXLStjv0gg9URcETc7kvYnzXdYXUWug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBm7X6R7Yo5ctXyI3Gq1Ty9Ge4pYqGrDemWTEUmQissAiBZ6BKGyWvYN9eQL+D0Sce4f55mEx64GwfSrTTfgcyI+w=="}]},"maintainers":[{"email":"ninjabryan@gmail.com","name":"ninjabryan"},{"email":"npm@aasselin.com","name":"asselin"},{"email":"talk@alexmingoia.com","name":"amingoia"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-file-0.4.0.tgz_1514919797440_0.9411288055125624"}}},"readme":"# gulp-file\n\n[![Build Status](https://secure.travis-ci.org/alexmingoia/gulp-file.png)](http://travis-ci.org/alexmingoia/gulp-file) \n[![NPM version](https://badge.fury.io/js/gulp-file.png)](http://badge.fury.io/js/gulp-file)\n\nCreate vinyl files from a string or buffer and insert into the Gulp pipeline.\n\n## Installation\n\n```sh\nnpm install gulp-file\n```\n\n## API\n\n### plugin(name, source, options)\n\nCreates a vinyl file with the given `name` from `source` string or buffer and\nreturns a transform stream for use in your gulp pipeline.\n\n### plugin(sourceArray, options)\n\nCreates vinyl files for each entry in the array.  Each entry is an object with a `name` and `source` property.  A vinyl file is created with the given `name` and `source` and inserted into the returned transform stream.\n\n## Example\n\n[Primus](https://github.com/primus/primus) outputs the client library as a string. Using `gulp-file` we can\ncreate a vinyl file from the string and insert it into the gulp pipeline:\n\n```javascript\nvar gulp = require('gulp')\n  , file = require('gulp-file');\n\ngulp.task('js', function() {\n  var str = primus.library();\n\n  return gulp.src('scripts/**.js')\n    .pipe(file('primus.js', str))\n    .pipe(gulp.dest('dist'));\n});\n```\n\nUse it at the beginning of your pipeline by setting `src: true`:\n\n```javascript\nvar gulp = require('gulp')\n  , file = require('gulp-file');\n\ngulp.task('js', function() {\n  var str = primus.library();\n\n  return file('primus.js', str, { src: true })\n    .pipe(gulp.dest('dist'));\n});\n```\n\n## Options\n\n### src\n\nCalls `stream.end()` to be used at the beginning of your pipeline in place of\n`gulp.src()`. Default: `false`.\n\n## BSD Licensed\n","maintainers":[{"email":"ninjabryan@gmail.com","name":"ninjabryan"},{"email":"npm@aasselin.com","name":"asselin"},{"email":"talk@alexmingoia.com","name":"amingoia"}],"time":{"modified":"2022-06-18T17:04:14.320Z","created":"2014-05-01T23:27:11.834Z","0.1.0":"2014-05-01T23:27:11.834Z","0.2.0":"2014-11-07T21:15:05.760Z","0.3.0":"2016-05-06T04:45:59.339Z","0.4.0":"2018-01-02T19:03:17.689Z"},"homepage":"https://github.com/alexmingoia/gulp-file","keywords":["gulp","plugin","string","buffer","file","vinyl"],"repository":{"type":"git","url":"git://github.com/alexmingoia/gulp-file.git"},"author":{"name":"Alex Mingoia","email":"talk@alexmingoia.com"},"bugs":{"url":"https://github.com/alexmingoia/gulp-file/issues"},"license":"BSD","readmeFilename":"README.md","users":{"devalias":true,"wendellm":true,"dogancelik":true,"dorayx":true,"vutran":true,"rlihm":true,"tdmalone":true,"yikuo":true,"npmmax":true}}