{"_id":"gulp-concat-util","_rev":"28-9dbeffe2f1f1aa228d095e3c430aa174","name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","dist-tags":{"latest":"0.5.5"},"versions":{"0.2.1":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.2.1","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.4.0","gulp-util":"~2.2.14","lodash.assign":"^2.4.1","through2":"^0.4.1"},"devDependencies":{"mocha":"*","should":"*"},"_id":"gulp-concat-util@0.2.1","dist":{"shasum":"3ea854afee12072abe057090d12e142332d19a90","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.2.1.tgz","integrity":"sha512-k3gNL/4GfrStGl2LNcCe3lJiF3ai6Ohn7hr5A/X+3sxwTtyQ7kudBH06zozGE18VmtAHi9SgbHDO9nfHQT/14g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhcynDFPcxF49ahB/y3ijxHYyFUWtq/mG0sHUqhk63SAiABXUzwE5nw/Iwlrg37IDN4r1K8ix/bYRMTZuQzLTPfbQ=="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}]},"0.2.2":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.2.2","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.4.0","gulp-util":"~2.2.14","lodash.assign":"^2.4.1","through2":"^0.4.1"},"devDependencies":{"mocha":"*","should":"*"},"_id":"gulp-concat-util@0.2.2","dist":{"shasum":"5f21d0a5dc950393c9203d7cd52435b7973d0efc","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.2.2.tgz","integrity":"sha512-ff47C7yOHsPBgw5rhgElhN2nTEo2ikNsRuQwvPgWUyajeo4BGUfteIP8NUqZJEK3jLs6vNfSEyjekEs070I9vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJpwYHNt4hpSwpDLWq4TbjCJvXVzoVEJH0sGperR8p6wIgC47wt+bLGXqogzxL7uVrJ/9hION/AXnTW+NflbxDQQQ="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}]},"0.2.3":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.2.3","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.4.0","gulp-util":"~2.2.17","lodash.assign":"^2.4.1","through2":"^0.5.1"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"efb65f7552063b6f097516399b255292339a1502","_id":"gulp-concat-util@0.2.3","_shasum":"fad1c66b5b3112f1c573f9b1e507963bf2696080","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"dist":{"shasum":"fad1c66b5b3112f1c573f9b1e507963bf2696080","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.2.3.tgz","integrity":"sha512-isvDqlJ/GcOypPux+QrVjcukerAhV0pC6LB3Eee266xR4W1fT9r87jTD5jypb8xgWQGwg1TVZHkzAXcVVosH0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkAG9mxSFMGk1qLb1Ib9zEkMgXEh68rEavEH8I9fvafQIgEq3bQDz6stNsWShVY5FBBwFQ5RxtD4REf3PC/gJDGao="}]}},"0.4.0":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.4.0","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.5.1","concat-with-sourcemaps":"^0.1.3","gulp-util":"^3.0.0","lodash.assign":"^2.4.1","multipipe":"^0.1.1","through2":"^0.6.1"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"397ac81bb2121c14a6dd09cdbe11929ea4d40412","_id":"gulp-concat-util@0.4.0","_shasum":"d3358bccb2d574b191f9109a3573b29f401a45f7","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"dist":{"shasum":"d3358bccb2d574b191f9109a3573b29f401a45f7","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.4.0.tgz","integrity":"sha512-8ncYRhas/1gW8zpH1Khrm10Ax04yZlz5s9WTbavAr+kgdgrvQL1DN7aOFHTN95X76lRzTTYsewaEplxSoPogfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIKX3/lbgIKb9gMw4BhGBtLG2bDDrRu5FXl5uCfWZbmAIgakgGyi2JbjmLqWi+aLnyuZGwvDW5g1hau/F879x2RRo="}]}},"0.5.0":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.0","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.5.1","concat-with-sourcemaps":"^0.1.3","gulp-util":"^3.0.0","lodash.assign":"^2.4.1","multipipe":"^0.1.1","through2":"^0.6.1"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"ef0f3df82ee9bda160d849b7224e7cb27028c521","_id":"gulp-concat-util@0.5.0","_shasum":"4d81572e4ec05d76f4a930dada08cbe091736ea1","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"dist":{"shasum":"4d81572e4ec05d76f4a930dada08cbe091736ea1","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.0.tgz","integrity":"sha512-OJsTmqlK5dCr27nTjyaupKxdVtciLxvzUlWXCmWhsfWZkAxtHDZD28WA7tslkjn0ZXgrx2tTIpsYaRlRSUOojg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDDRBlcuyB4OUHyB20F6LBKAMWaYr/CPeKoUrmYsKAkAiBhObrYRiQyv0JCBFmHwa5Ne3BKea7WcTi9IhXQ3Mp0Vw=="}]}},"0.5.1":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.1","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"chalk":"^0.5.1","concat-with-sourcemaps":"^0.1.5","gulp-util":"^3.0.1","lodash.assign":"^2.4.1","multipipe":"^0.1.1","through2":"^0.6.2"},"devDependencies":{"mocha":"*","should":"*"},"gitHead":"2b15ffd909a05f7ad83c12152d782eb8ee0852e1","_id":"gulp-concat-util@0.5.1","_shasum":"8e52d3a1a5ad46a12393ca8d61c52d4946e25519","_from":".","_npmVersion":"1.4.27","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"dist":{"shasum":"8e52d3a1a5ad46a12393ca8d61c52d4946e25519","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.1.tgz","integrity":"sha512-Q2WOi7d3F5tFEajjN18cdOKcUPlczAHlHuUnZR85u3U+4IY3MQ7G3rj+bDGdW+VKjE0pAGHD8hSjbkgDAdsUHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXQV8q/MlUsOQaJ5WsAPPU2AEoDRTsutxIyHBG7KjGFwIgT4ZZklb8ez+4jA6kOXxxK4D80LzMMLNAGDYTi20sO6I="}]}},"0.5.2":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.2","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"concat-with-sourcemaps":"^1.0.0","gulp-if":"^1.2.5","gulp-util":"^3.0.3","lodash.assign":"^3.0.0","stream-combiner2":"^1.0.2","through2":"^0.6.3"},"devDependencies":{"gulp":"^3.8.11","gulp-sourcemaps":"^1.3.0","mocha":"^2.1.0","should":"^5.0.0","stream-array":"^1.0.1","stream-assert":"^2.0.2"},"gitHead":"34e5291ef760053162810fd583c6039f7d9d9ee6","_id":"gulp-concat-util@0.5.2","_shasum":"f303074278f13daeebccfbac003fff6f1435af1d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"dist":{"shasum":"f303074278f13daeebccfbac003fff6f1435af1d","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.2.tgz","integrity":"sha512-jeG7BP466KhGvkSWHeaVc81LrHFyOElLesThoyaY6dGNuf2c8SR4j9gkrB4be4opBCGPXVlC591WcWLLlQBjig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICE1WR+RWGHq5QOvJ4JKXC8+wrs6gpdzRaUbiaMp8umQAiAB+KY/t8DeUWHQZJoRniwwDHkfC7Fz8RUk/4fmuqojIg=="}]}},"0.5.3":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.3","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"concat-with-sourcemaps":"^1.0.4","gulp-if":"^2.0.0","gulp-util":"^3.0.6","lodash.assign":"^3.2.0","stream-combiner2":"^1.1.1","through2":"^2.0.0"},"devDependencies":{"gulp":"^3.9.0","gulp-sourcemaps":"^1.6.0","mocha":"^2.3.3","should":"^7.1.0","stream-array":"^1.1.1","stream-assert":"^2.0.3"},"gitHead":"833c0726c44ffb6589893cfa06661e888d2ea400","_id":"gulp-concat-util@0.5.3","_shasum":"4b631feafc2880d1a6d7b6cb994ce1e41a673d7b","_from":".","_npmVersion":"2.14.8","_nodeVersion":"4.2.1","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"dist":{"shasum":"4b631feafc2880d1a6d7b6cb994ce1e41a673d7b","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.3.tgz","integrity":"sha512-H0EC2BRwZXUINzsNWQxQVmNX3LUclkzByxIs/gptMTdDHtnNDXW06vXAmBKWoUbIN2cIeNgm83gXgPTomqiumQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjZidlV2uKbu/D9csXDf9H5I9ZgDRVGnCxignPSBM4YAiAwbAYx+fSTwbUWm7VxNnYtOqhoOTzz25fFR+GVG6vZDQ=="}]},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}]},"0.5.4":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.4","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"concat-with-sourcemaps":"^1.0.4","gulp-if":"^2.0.0","gulp-util":"^3.0.6","lodash.assign":"^3.2.0","stream-combiner2":"^1.1.1","through2":"^2.0.0"},"devDependencies":{"gulp":"^3.9.0","gulp-sourcemaps":"^1.6.0","mocha":"^2.3.3","should":"^7.1.0","stream-array":"^1.1.1","stream-assert":"^2.0.3"},"gitHead":"768a2cbfae084cdcb05d29d8afd329368d8ac673","_id":"gulp-concat-util@0.5.4","_shasum":"5ccbca6e62cf1d61a970d5424c5ddd333d5f975d","_from":".","_npmVersion":"2.14.8","_nodeVersion":"4.2.1","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"dist":{"shasum":"5ccbca6e62cf1d61a970d5424c5ddd333d5f975d","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.4.tgz","integrity":"sha512-9rJudi9gwHzERxKjRW0e1XsjqJNOIDjqLHAdRDGxyc9dWEAsgadpPJeqyWmFzfa3ASPeViuotGhuASKitwzPNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtrQTJ1rrQsb/e75274LlUwVKkMKrFToQVNzfYu/xDBAiEAx8mGQ5WT3qGb77Wzsnot3xFIAG9ZhoymSCRzp+SLUSg="}]},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}]},"0.5.5":{"name":"gulp-concat-util","description":"Gulp task to concat, prepend, append or transform files","version":"0.5.5","main":"src/index.js","homepage":"https://github.com/mgcrea/gulp-concat-util","author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"keywords":["gulp","angular"],"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"licenses":[{"type":"MIT","url":"https://github.com/mgcrea/gulp-concat-util/blob/master/LICENSE"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec"},"dependencies":{"concat-with-sourcemaps":"^1.0.4","gulp-if":"^2.0.0","gulp-util":"^3.0.6","lodash.assign":"^3.2.0","stream-combiner2":"^1.1.1","through2":"^2.0.0"},"devDependencies":{"gulp":"^3.9.0","gulp-sourcemaps":"^1.6.0","mocha":"^2.3.3","should":"^7.1.0","stream-array":"^1.1.1","stream-assert":"^2.0.3"},"gitHead":"78d822347421bb974eb2a75eff7f8a10d705ce4d","_id":"gulp-concat-util@0.5.5","_shasum":"c8f0633b4e6e950ff93c475b3c8d3b84be03b7dc","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.4.1","_npmUser":{"name":"mgcrea","email":"olivier@mg-crea.com"},"dist":{"shasum":"c8f0633b4e6e950ff93c475b3c8d3b84be03b7dc","tarball":"https://registry.npmjs.org/gulp-concat-util/-/gulp-concat-util-0.5.5.tgz","integrity":"sha512-49PgpCc5SpePvp5ZNzriNec3Tl4mNmgPLTaRc5m2Qv4kwxOUiMx0A2dmyFE/Fo7A66xR3REBO1mKCKEHvqlqNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV1xQca2mrcDSBB9fEBhbfdyzJjAL5GNhC4HYCM9GxsAIhAPgfOqvr84yCXSUq1ELArML9GrSpEG03DBfY19Qtbjq4"}]},"maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/gulp-concat-util-0.5.5.tgz_1454419632314_0.16157267591916025"}}},"readme":"# gulp-concat-util [![Build Status](https://secure.travis-ci.org/mgcrea/gulp-concat-util.png?branch=master)](http://travis-ci.org/#!/mgcrea/gulp-concat-util)\n\n> Gulp task to concat, prepend, append or transform files.\n\nThis implementation is relatively closes to the original [gulp-concat](https://github.com/wearefractal/gulp-concat) plugin.\n\nHowever this plugin provides `.header()`, `.footer()` & `.scripts()` helpers, and provides a passthrough option used in complex build worflow.\n\n## Getting Started\n\nThis plugin requires Gulp `^3.0.0`\n\nIf you haven't used [Gulp](http://gulpjs.com/) before, be sure to check out the [Getting Started](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md) guide, as it explains how to create a [Gulpfile](https://github.com/gulpjs/gulp/blob/master/docs/API.md) as well as install and use Gulp plugins. Once you're familiar with that , you may install this plugin with this command:\n\n```shell\nnpm install gulp-concat-util --save-dev\n```\n\nOnce the plugin has been installed, it may be required inside your Gulpfile with this line of JavaScript:\n\n```js\nvar concat = require('gulp-concat-util');\n```\n\n\n## Usage\n\n```javascript\nvar concat = require('gulp-concat-util');\n\ngulp.task('concat:dist', function() {\n  gulp.src('scripts/{,*/}*.js')\n    .pipe(concat('combined.js'))\n    .pipe(concat.header('// file: <%= file.path %>\\n'))\n    .pipe(concat.footer('\\n// end\\n'))\n    .pipe(gulp.dest('dist'));\n});\n```\n\nAdvanced usage example, replacing any 'use strict;' statement found in the files with a single one at the top of the file\n\n```javascript\nvar concat = require('gulp-concat-util');\n\ngulp.task('concat:dist', function() {\n  gulp.src('scripts/{,*/}*.js')\n    .pipe(concat(pkg.name + '.js', {process: function(src, filePath) { \n      // if you need the filename, example `myFileJs.js`, path.basename( filePath, '.js' )\n      return (src.trim() + '\\n').replace(/(^|\\n)[ \\t]*('use strict'|\"use strict\");?\\s*/g, '$1'); \n    }}))\n    .pipe(concat.header('(function(window, document, undefined) {\\n\\'use strict\\';\\n'))\n    .pipe(concat.footer('\\n})(window, document);\\n'))\n    .pipe(gulp.dest('dist'));\n});\n```\n\nAlternatively, you can use the bundled helper to concatenate scripts\n\n```javascript\nvar concat = require('gulp-concat-util');\n\ngulp.task('concat:dist', function() {\n  gulp.src('scripts/{,*/}*.js')\n    .pipe(concat.scripts(pkg.name + '.js'))\n    .pipe(gulp.dest('dist'));\n});\n```\n\n\n## Options\n\n#### sep (String)\n\n- Separator to use between concatenated files.\n- Default: `require('os').EOL`\n- Alias: `newLine`\n\n#### passthrough (Boolean)\n\n- `Boolean` - Whether initial files should pass through\n- Default: `false`\n\n#### process (Boolean/Function)\n\n- `Boolean` - Whether a file should be processed or skipped.\n- `Function` - Process source files using the given function, called once for each file. The returned value will be used as source code.\n- Default: `true`\n\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.\n\n\n## Authors\n\n**Olivier Louvignes**\n\n+ http://olouv.com\n+ http://github.com/mgcrea\n\n\n## Copyright and license\n\n    The MIT License\n\n    Copyright (c) 2014 Olivier Louvignes\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","maintainers":[{"name":"mgcrea","email":"olivier@mg-crea.com"}],"time":{"modified":"2022-06-18T16:49:30.796Z","created":"2014-04-04T10:37:17.384Z","0.2.1":"2014-04-04T10:37:17.384Z","0.2.2":"2014-04-04T13:40:03.477Z","0.2.3":"2014-06-16T13:01:37.876Z","0.4.0":"2014-08-17T08:18:44.910Z","0.5.0":"2014-09-30T11:02:37.971Z","0.5.1":"2014-09-30T11:05:54.168Z","0.5.2":"2015-02-16T11:50:58.090Z","0.5.3":"2015-10-19T11:06:08.116Z","0.5.4":"2015-10-19T11:13:43.214Z","0.5.5":"2016-02-02T13:27:15.087Z"},"homepage":"https://github.com/mgcrea/gulp-concat-util","keywords":["gulp","angular"],"repository":{"type":"git","url":"git://github.com/mgcrea/gulp-concat-util.git"},"author":{"name":"Olivier Louvignes","email":"olivier@mg-crea.com"},"bugs":{"url":"https://github.com/mgcrea/gulp-concat-util/issues"},"readmeFilename":"README.md","users":{"delch":true,"milushov":true,"maxidr":true,"elussich":true,"johnym":true,"morogasper":true,"maalthous":true}}