{"_id":"@fomantic/gulp-concat-filenames","_rev":"3-81b938ec9caaf70a619e18d17560f2c8","name":"@fomantic/gulp-concat-filenames","dist-tags":{"latest":"3.0.0"},"versions":{"1.2.1":{"name":"@fomantic/gulp-concat-filenames","version":"1.2.1","keywords":["gulpplugin","gulpfriendly","concat filenames","gulp"],"author":{"name":"the-simian","email":"harlinjesse@gmail.com"},"_id":"@fomantic/gulp-concat-filenames@1.2.1","maintainers":[{"name":"lubber","email":"c64@lubber.de"},{"name":"hammy2899","email":"sean@hami.me"},{"name":"fomantic-bot","email":"contact@fomantic-ui.com"}],"contributors":[{"name":"Jesse Harlin","email":"harlinjesse@gmail.com"},{"name":"Noam Youngerman","email":"noam@younger.mn"},{"name":"Rainfore Zhao","email":"rainforest92@126.com"}],"homepage":"http://jesseharlin.net","bugs":{"url":"https://github.com/fomantic/gulp-concat-filenames/issues"},"dist":{"shasum":"889ec92592ba5893ee817bb3469dc6a0dbb32e49","tarball":"https://registry.npmjs.org/@fomantic/gulp-concat-filenames/-/gulp-concat-filenames-1.2.1.tgz","fileCount":11,"integrity":"sha512-4KMWaOuaRUQFUoZC0h9ghW48W2+Mh0HATm/kN16pd2VVb6Fn72pzSLQ/o6pYw9B2azUhg+WRuBr7P6QuWE5/kA==","signatures":[{"sig":"MEQCIE5B66DrtQmBY92qStUJIx3HoxGA7iKfYqlejZ1/oNa6AiBqV9eO0jNBEvblkoL2zP20byMl1VHsuo9pxkSilR2Zgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20394},"main":"./index.js","engines":{"node":">= 12"},"gitHead":"a1e84f03a3756c1bf870132d219e0de1dad55295","scripts":{"test":"mocha","coverage":"nyc mocha"},"typings":"index.d.ts","_npmUser":{"name":"lubber","email":"c64@lubber.de"},"licenses":[{"url":"https://github.com/the-simian/gulp-concat-filenames/blob/master/license.txt","type":"MIT"}],"repository":{"url":"git+https://github.com/fomantic/gulp-concat-filenames.git","type":"git"},"_npmVersion":"6.14.15","description":"Similar to concat, but creates a file with a list of filenames,not file contents.","directories":{},"_nodeVersion":"12.22.9","dependencies":{"vinyl":"^3.0.0","through":"^2.3.8","plugin-error":"^2.0.0"},"engineStrict":true,"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","gulp":"^5.0.0","mocha":"^9.2.2","sinon":"^14.0.1","sinon-chai":"^3.7.0","stream-assert":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/gulp-concat-filenames_1.2.1_1713565663350_0.8403711558699105","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@fomantic/gulp-concat-filenames","version":"2.0.0","keywords":["gulpplugin","gulpfriendly","concat filenames","gulp"],"author":{"name":"the-simian","email":"harlinjesse@gmail.com"},"_id":"@fomantic/gulp-concat-filenames@2.0.0","maintainers":[{"name":"hammy2899","email":"sean@hami.me"},{"name":"fomantic-bot","email":"contact@fomantic-ui.com"},{"name":"lubber","email":"c64@lubber.de"}],"contributors":[{"name":"Jesse Harlin","email":"harlinjesse@gmail.com"},{"name":"Noam Youngerman","email":"noam@younger.mn"},{"name":"Rainfore Zhao","email":"rainforest92@126.com"}],"homepage":"http://jesseharlin.net","bugs":{"url":"https://github.com/fomantic/gulp-concat-filenames/issues"},"dist":{"shasum":"8a97ed9cc91ff1a45548317152d7be4c4c4e10f2","tarball":"https://registry.npmjs.org/@fomantic/gulp-concat-filenames/-/gulp-concat-filenames-2.0.0.tgz","fileCount":11,"integrity":"sha512-XI55ke1/neXMHd+C41WhDMAovy60oK1U+yI0nQQOgAuwrqSEtc3Pd7Y3fDAHZMGd3TzzZB59XcK/eN958MGe2A==","signatures":[{"sig":"MEYCIQDy6MhdAMu0QDgKdKUQJKhnIIeKsBA21CE/sVY7QoYCPwIhAKXD6+rFQzcM5rDJzCxUMAiABgHktGCJ1MR7W0wM8rLU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20396},"main":"./index.js","engines":{"node":">=18.18"},"gitHead":"80a4503c815108cc18c26a6d5c933a53dbf0c009","scripts":{"test":"mocha","coverage":"nyc mocha"},"typings":"index.d.ts","_npmUser":{"name":"lubber","email":"c64@lubber.de"},"licenses":[{"url":"https://github.com/the-simian/gulp-concat-filenames/blob/master/license.txt","type":"MIT"}],"repository":{"url":"git+https://github.com/fomantic/gulp-concat-filenames.git","type":"git"},"_npmVersion":"10.7.0","description":"Similar to concat, but creates a file with a list of filenames,not file contents.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"vinyl":"^3.0.0","through":"^2.3.8","plugin-error":"^2.0.1"},"engineStrict":true,"_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","chai":"^4.5.0","gulp":"^5.0.0","mocha":"^9.2.2","sinon":"^19.0.2","sinon-chai":"^3.7.0","stream-assert":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/gulp-concat-filenames_2.0.0_1740846893713_0.8584783298406318","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@fomantic/gulp-concat-filenames","description":"Similar to concat, but creates a file with a list of filenames,not file contents.","version":"3.0.0","homepage":"http://jesseharlin.net","repository":{"type":"git","url":"git+https://github.com/fomantic/gulp-concat-filenames.git"},"author":{"name":"the-simian","email":"harlinjesse@gmail.com"},"contributors":[{"name":"Jesse Harlin","email":"harlinjesse@gmail.com"},{"name":"Noam Youngerman","email":"noam@younger.mn"},{"name":"Rainfore Zhao","email":"rainforest92@126.com"}],"main":"./index.js","keywords":["gulpplugin","gulpfriendly","concat filenames","gulp"],"dependencies":{"plugin-error":"^2.0.1","through":"^2.3.8","vinyl":"^3.0.0"},"typings":"index.d.ts","devDependencies":{"chai":"^4.5.0","gulp":"^5.0.0","mocha":"^11.7.6","nyc":"^18.0.0","sinon":"^22.0.0","sinon-chai":"^3.7.0","stream-assert":"^2.0.3"},"resolutions":{"@babel/core":"^7.29.6","braces":"^3.0.3","cross-spawn":"^7.0.5","diff":"^8.0.3","js-yaml":"^4.2.0","micromatch":"^4.0.8","semver":"^6.3.1","serialize-javascript":"^7.0.5","picomatch":"^4.0.4"},"scripts":{"test":"mocha","coverage":"nyc mocha"},"engineStrict":true,"engines":{"node":">=20"},"licenses":[{"type":"MIT","url":"https://github.com/the-simian/gulp-concat-filenames/blob/master/license.txt"}],"_id":"@fomantic/gulp-concat-filenames@3.0.0","gitHead":"6b585a95f10165579ab17bf7356d09bcd07a739d","bugs":{"url":"https://github.com/fomantic/gulp-concat-filenames/issues"},"_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-zYP6ZWzdesWlb/5XxMa9i3Bn8i5e71XLLpuGqh5UoYf9NqYCkMgU/IIXWcEs+2Y/avhXefUDAqN8Gh/+MaQQPQ==","shasum":"9283a13eb85bbdc328582951b030a7fa5a8a739c","tarball":"https://registry.npmjs.org/@fomantic/gulp-concat-filenames/-/gulp-concat-filenames-3.0.0.tgz","fileCount":11,"unpackedSize":20675,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEggrIQrut2Z7b4Sd7E1SP8A9QnDgljimD0Smp26Ju0AIgSSBpIKnBK+84n+rPsEOtfFYg4Y/oY9knUH9yX2H3IJw="}]},"_npmUser":{"name":"lubber","email":"c64@lubber.de"},"directories":{},"maintainers":[{"name":"hammy2899","email":"sean@hami.me"},{"name":"fomantic-bot","email":"contact@fomantic-ui.com"},{"name":"lubber","email":"c64@lubber.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gulp-concat-filenames_3.0.0_1784312879600_0.12193055915245199"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-19T22:27:43.232Z","modified":"2026-07-17T18:27:59.966Z","1.2.1":"2024-04-19T22:27:43.488Z","2.0.0":"2025-03-01T16:34:53.882Z","3.0.0":"2026-07-17T18:27:59.738Z"},"bugs":{"url":"https://github.com/fomantic/gulp-concat-filenames/issues"},"author":{"name":"the-simian","email":"harlinjesse@gmail.com"},"homepage":"http://jesseharlin.net","keywords":["gulpplugin","gulpfriendly","concat filenames","gulp"],"repository":{"type":"git","url":"git+https://github.com/fomantic/gulp-concat-filenames.git"},"description":"Similar to concat, but creates a file with a list of filenames,not file contents.","contributors":[{"name":"Jesse Harlin","email":"harlinjesse@gmail.com"},{"name":"Noam Youngerman","email":"noam@younger.mn"},{"name":"Rainfore Zhao","email":"rainforest92@126.com"}],"maintainers":[{"name":"hammy2899","email":"sean@hami.me"},{"name":"fomantic-bot","email":"contact@fomantic-ui.com"},{"name":"lubber","email":"c64@lubber.de"}],"readme":"\r\n> ### Forked Version using updated dependencies\r\n> Original repo at https://github.com/the-simian/gulp-concat-filenames\r\n\r\n# Information\r\n\r\n| Package      | gulp-concat-filenames                                                                                 |\r\n|--------------|-------------------------------------------------------------------------------------------------------|\r\n| Description  | Similar to concat, but creates a list of names in the output file, rather than contents being merged. |\r\n| Node Version | >= 20                                                                                                 |\r\n\r\n \r\n---\r\n\r\n![gulp-concat-filenames](https://cloud.githubusercontent.com/assets/954596/12309992/609d63da-ba13-11e5-8698-b06ea035f07b.png)\r\n\r\n\r\n## Usage\r\n\r\n### Basic Usage, No options.\r\n```js\r\nvar concatFilenames = require('gulp-concat-filenames');\r\n\r\nvar concatFilenamesOptions = {\r\n\r\n};\r\n\r\nfunction fileManifest(){\r\n  gulp\r\n      .src('./lib/**/*.*')\r\n      .pipe(concatFilenames('manifest.txt', concatFilenamesOptions))\r\n      .pipe(gulp.dest('./output/'));\r\n}\r\n\r\n\r\ngulp.task('file-manifest', fileManifest);\r\n\r\n```\r\n\r\n###Arguments\r\n\r\nGulp concat-filenames takes 2 arguments: `filename` and `options`\r\n\r\n####Filename [**Required**]\r\n\r\n This first argument is the name of the output file the list of filenames will be put into.\r\n\r\n#####Options [**Optional**]\r\n\r\nThe second argument is optional (pun intended), and is an object with the following properties:\r\n\r\n- `newline` - The character to use in place of `\\n` for a newline. The default value will be `\\n`\r\n- `prepend` - Some text to prepend to every entry in the list of filenames\r\n- `append` - Some text to append to every intry in the list of filenames\r\n- `template` - a function that takes one parameter (the file name) and returns the string after some formatting. Can be used in addition to, or instead of, `append` and `prepend`\r\n- `root` - the root folder. Including this argument will return a list of relative paths instead of absolute paths.\r\n\r\n\r\n###Examples\r\n\r\nGiven the file structure:\r\n\r\n```\r\n.\r\n+-- somefile.txt\r\n+-- lib\r\n|   +-- one.txt\r\n|   +-- two.txt\r\n+-- gulpfile.js\r\n\r\n```\r\n\r\n\r\n\r\n```js\r\nvar concatFilenames = require('gulp-concat-filenames');\r\n\r\nvar concatFilenamesOptions = {\r\n    root: '/lib',\r\n    prepend: '==> ',\r\n    append: ' <=='\r\n};\r\n\r\nfunction fileManifest(){\r\n  gulp\r\n      .src('./lib/**/*.*')\r\n      .pipe(concatFilenames('manifest.txt', concatFilenamesOptions))\r\n      .pipe(gulp.dest('./output/'));\r\n}\r\n\r\n\r\ngulp.task('file-manifest', fileManifest);\r\n```\r\n\r\nrunning `gulp file-manifest` now produces a file called `manifest.txt` with the contents\r\n\r\n```\r\n==> one.txt <==\r\n==> two.txt <==\r\n\r\n```\r\n\r\nOr you can use the template property, to format the output as well.\r\n```js\r\n\r\nfunction fileNameFormatter(filename) {\r\n   return 'XXX--' + filename.toUpperCase() + '--YYY';\r\n}\r\n\r\nvar concatFilenames = require('gulp-concat-filenames');\r\n\r\nvar concatFilenamesOptions = {\r\n    root: '/lib',\r\n    template: fileNameFormatter // Pass in a function\r\n};\r\n\r\nfunction fileManifest(){\r\n  gulp\r\n      .src('./lib/**/*.*')\r\n      .pipe(concatFilenames('manifest.txt', concatFilenamesOptions))\r\n      .pipe(gulp.dest('./output/'));\r\n}\r\n\r\n\r\ngulp.task('file-manifest', fileManifest);\r\n```\r\n\r\nrunning `gulp file-manifest` now produces a file called `manifest.txt` with the contents\r\n\r\n```\r\nXXX--ONE.TXT--YYY\r\nXXX--TWO.TXT--YYY\r\n\r\n```\r\n\r\n###Contribution\r\nIf you write tests, follow semver and have something to add, I love accepting pull requests!! Any questions? Make an issue on github! <3\r\n","readmeFilename":"readme.md"}