{"_id":"gulp-insert","_rev":"29-bf90308cc9d9b8c5c5c74406010cf865","name":"gulp-insert","description":"Append or Prepend a string with gulp","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"gulp-insert","version":"0.1.0","description":"Append or Prepend a string with gulp","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert"},"keywords":["gulp","append","insert","prepend"],"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"license":"MIT","bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"devDependencies":{"mocha":"~1.17.0","expect.js":"~0.2.0","gulp-util":"~2.2.12"},"dependencies":{"map-stream":"~0.1.0"},"_id":"gulp-insert@0.1.0","dist":{"shasum":"c36b28c6b17ddd160828e432b13ee383485674dd","tarball":"https://registry.npmjs.org/gulp-insert/-/gulp-insert-0.1.0.tgz","integrity":"sha512-JFkFyRTaYEMCpcp/NfC7iC4qzRQAqnUmH76X6d7B4SlIt9K7FByUQtNGvXe7+Z9QHo2WzS8nFB6/IujDdFOhNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVF0agSHQGATTYd0d9ZmuE1scZoDWizOHTY4jOayR34AiEAzRRLsKwX+D75yQCInZ0BI5EGNOqCAfTBqB1mhjWUCO4="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"rschmukler","email":"ryan@slingingcode.com"},"maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"}],"directories":{}},"0.2.0":{"name":"gulp-insert","version":"0.2.0","description":"Append or Prepend a string with gulp","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert"},"keywords":["gulp","append","insert","prepend"],"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"license":"MIT","bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"devDependencies":{"mocha":"~1.17.0","expect.js":"~0.2.0","gulp-util":"~2.2.12"},"dependencies":{"map-stream":"~0.1.0"},"homepage":"https://github.com/rschmukler/gulp-insert","_id":"gulp-insert@0.2.0","dist":{"shasum":"4fe7fc7bd08e8f43d16eebd2f54093b0b6069392","tarball":"https://registry.npmjs.org/gulp-insert/-/gulp-insert-0.2.0.tgz","integrity":"sha512-ho5JUpyDMypYT85oVRmkng56NcBeOsBARfUPcXd8++FLMTwDUqmawBKBDkpMAA6SFMQPKWl98LWzx2UWPJLmJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGdz4oB2TId9SW5dxu3N7/nplm6vHMFVI3p5EDhKTATQIgFREhrPD0x+eTWXY+HPqr9KsQWD70GvsR2Lwcyd4ww8Y="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"rschmukler","email":"ryan@slingingcode.com"},"maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"}]},"0.3.0":{"name":"gulp-insert","version":"0.3.0","description":"Append or Prepend a string with gulp","main":"index.js","scripts":{"test":"mocha test/*.js"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert"},"keywords":["gulp","gulpplugin","append","insert","prepend"],"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"license":"MIT","homepage":"https://github.com/rschmukler/gulp-insert/","bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"devDependencies":{"mocha":"~1.17.0","gulp-util":"~2.2.12","chai":"^1.9.1"},"dependencies":{"readable-stream":"^1.0.26-4","streamqueue":"0.0.6"},"_id":"gulp-insert@0.3.0","dist":{"shasum":"d02def7ce0794075d5fc161598e998011249cd39","tarball":"https://registry.npmjs.org/gulp-insert/-/gulp-insert-0.3.0.tgz","integrity":"sha512-166mcbvEq3P6iEghSNa/RZwIvirkuXUBN2s1NuQEVtcbvykN3xjfiXoKOz4xIE797DwImBwQq9WXmxz9T3YtvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtKQ0dE/8wIg1ln4soMloHGDbZK3YF3kowlBUAIeMSRAIhAOWL8lhNYvrwDnM21JOmITu+6s5UXyld/dUXNCwZZyav"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"rschmukler","email":"ryan@slingingcode.com"},"maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"}]},"0.4.0":{"name":"gulp-insert","version":"0.4.0","description":"Append or Prepend a string with gulp","main":"index.js","scripts":{"test":"mocha test/*.js"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert"},"keywords":["gulp","gulpplugin","append","insert","prepend"],"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"license":"MIT","homepage":"https://github.com/rschmukler/gulp-insert/","bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"devDependencies":{"mocha":"~1.17.0","gulp-util":"~2.2.12","chai":"^1.9.1"},"dependencies":{"readable-stream":"^1.0.26-4","streamqueue":"0.0.6"},"_id":"gulp-insert@0.4.0","dist":{"shasum":"781213f110de39e9b36ca8c3bb502e045a58cdfd","tarball":"https://registry.npmjs.org/gulp-insert/-/gulp-insert-0.4.0.tgz","integrity":"sha512-+A0VrOiDYK71VWf1MQ57kVvooufCr65OH0SI4Tn76VApOZVpgqZXerUjarqXM/wIuhNZUt6o2Rcbp2+x4ZGGUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzPRjlcPKA/rqOOca/9tJQuzm6THqs9XYNIvLv/qXVzAiBAOSTgn8wBFWAmWqjROeXD7oeQxdWrz8OhkOcQSiLtYQ=="}]},"_from":".","_npmVersion":"1.3.26","_npmUser":{"name":"rschmukler","email":"ryan@slingingcode.com"},"maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}]},"0.5.0":{"name":"gulp-insert","version":"0.5.0","description":"Append or Prepend a string with gulp","main":"index.js","scripts":{"test":"mocha test/*.js"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert.git"},"keywords":["gulp","gulpplugin","append","insert","prepend"],"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"license":"MIT","homepage":"https://github.com/rschmukler/gulp-insert/","bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"devDependencies":{"mocha":"~1.17.0","gulp-util":"~2.2.12","chai":"^1.9.1"},"dependencies":{"readable-stream":"^1.0.26-4","streamqueue":"0.0.6"},"gitHead":"8d35acb4fbf402cac02143b477ba1b4ca5f14b6a","_id":"gulp-insert@0.5.0","_shasum":"32313f13e4a23cf5acca5ce5f0c080923c778602","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"rschmukler","email":"ryan@slingingcode.com"},"dist":{"shasum":"32313f13e4a23cf5acca5ce5f0c080923c778602","tarball":"https://registry.npmjs.org/gulp-insert/-/gulp-insert-0.5.0.tgz","integrity":"sha512-SDKCWmjomAo0N0Bzj9qEKIfURORJR/72p6AbDBIK9yKZw794ROTrQHliBem+NJzS2GsTWSm8dGWJ5L7KtjnMRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWeobqqUPMHV+3wX6OE0/eeuYqxrvxAnQVx21VhK7JqwIgUC+QOzHEn6QXG75zYHuMMsaWfHF5EOAd9RCiuND1Czc="}]},"maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}]}},"readme":"# gulp-insert\n\nString manipulation library for gulp\n\n## Usage\n\n```\nnpm install gulp-insert\n```\n\n```js\nvar insert = require('gulp-insert');\n```\n\n## Append\n\nAppends a string onto the contents.\n\n```js\n.pipe(insert.append('world')); // Appends 'world' to the contents of every file\n```\n\n## Prepend\n\nPrepends a string onto the contents.\n\n```js\n.pipe(insert.prepend('Hello')); // Prepends 'Hello' to the contents of every file\n```\n## Wrap\n\nWraps the contents with two strings.\n\n```js\n.pipe(insert.wrap('Hello', 'World')); // prepends 'hello' and appends 'world' to the contents\n```\n\n## Transform\n\nCalls a function with the contents of the file.\n\n```js\n.pipe(insert.transform(function(contents, file) {\n  return contents.toUpperCase();\n}));\n```\n\nTransform has access to the underlying vinyl file. The following code adds a '//' comment with the full file name before the actual content.\n\n```js\n.pipe(insert.transform(function(contents, file) {\n\n\tvar comment = '// local file: ' + file.path + '\\n';\n\treturn comment + contents;\n}));\n```\n\nSee https://github.com/wearefractal/vinyl for docmentation on the 'file' parameter.\n","maintainers":[{"name":"rschmukler","email":"ryan@slingingcode.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"time":{"modified":"2022-06-18T17:19:02.123Z","created":"2014-01-18T02:08:15.121Z","0.1.0":"2014-01-18T02:08:15.880Z","0.2.0":"2014-02-02T23:41:02.344Z","0.3.0":"2014-04-06T21:14:53.085Z","0.4.0":"2014-06-29T03:16:23.941Z","0.5.0":"2015-08-05T23:30:09.030Z"},"author":{"name":"Ryan Schmukler","email":"ryan@slingingcode.com","url":"http://slingingcode.com/"},"repository":{"type":"git","url":"git://github.com/rschmukler/gulp-insert.git"},"readmeFilename":"Readme.md","homepage":"https://github.com/rschmukler/gulp-insert/","keywords":["gulp","gulpplugin","append","insert","prepend"],"bugs":{"url":"https://github.com/rschmukler/gulp-insert/issues"},"license":"MIT","users":{"delch":true,"csbun":true,"minimit":true,"arteg":true,"joaocunha":true,"dmarsh":true,"elussich":true,"tylersclark":true,"tuomastolppi":true,"xiechao06":true,"edloidas":true,"bsara":true,"tdmalone":true,"mik639":true,"kwesi":true}}