{"_id":"broccoli-merge-files","_rev":"5-1976fd7364656c6a91286698cc737d3d","name":"broccoli-merge-files","dist-tags":{"latest":"0.8.0"},"versions":{"0.0.1":{"name":"broccoli-merge-files","description":"Broccoli plugin to merge multiple files into one or multiple files","version":"0.0.1","author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge"},"keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"scripts":{"lint":"eslint --ext ts .","test":"jest","prepack":"tsc"},"engines":{"node":">=10.1.0"},"dependencies":{"broccoli-plugin":"^1.3.0","fast-glob":"^2.2.6","lodash.defaults":"^4.2.0","p-event":"^2.2.0"},"devDependencies":{"@types/broccoli-plugin":"^1.3.0","@types/jest":"^23.3.13","@types/lodash.defaults":"^4.2.4","@types/node":"^10.12.21","@types/p-event":"^1.3.0","@typescript-eslint/eslint-plugin":"^1.2.0","@typescript-eslint/parser":"^1.1.1","broccoli-test-helper":"^2.0.0","eslint":"^5.12.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-prettier":"^3.0.1","eslint-plugin-unicorn":"^7.1.0","jest":"^24.0.0","prettier":"^1.16.3","ts-jest":"^23.10.5","typescript":"^3.3.1"},"_id":"broccoli-merge-files@0.0.1","dist":{"shasum":"5f62e31bbc4ea2efcfcad7e9239019c777626b79","integrity":"sha512-neD8N8GBIVmhE/hqGp3g4+RHf9KBB0HoSiWaSMXRf7sWuhpXReFIpX3eH7cFMECby9gSjCZAUCJ6JqYXoTxnGA==","tarball":"https://registry.npmjs.org/broccoli-merge-files/-/broccoli-merge-files-0.0.1.tgz","fileCount":8,"unpackedSize":17470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVN2MCRA9TVsSAnZWagAApDYP/3aBVJfijQYLB7tqGaev\nu5Oxe2Nx+RpYCV9GaQRD9rMK14DlRgleNqxJiokgXk/mSgf65+3AKKeLLCEq\nuAB7sTzBTlntXJS64Y/bu6fio6WCLew49ZXUUTSXpkm7bcyUqKDIGAiCB7Jz\nd7pm3jyT2ePin/9lp7l6MUuKH/8lJC3lqX+8d1gD4O2epflo9zxd1Cnl5H7L\n+VxnUmEQCHpv5sjeqsDR7yJymBdsQrdgrdWegpI4W/Hkpca4Jg407Y8KT4Wk\nfeoSNIHaHnXrMZX8e/zEh/Xj0ZP7asc0xwDwiyoha5TzxgUlHBmXAJFnT8K5\nLl/FPGo+7scPadVhE3H9jvXdWVxJK2fgee5XhFLDiSvSL7q8ykUSnYT8dhVN\nZoPPj8mtZDvQhdyMZx3guHxpz15CGlhXIFSTfAqNq0wnVmXnM2hc9yes7MTt\n2vUR/u475qu/PMklNiLZcbnct1Ud/xAHXvsLps79rcWlYzDD7gV+OlXkHAPP\nDOMy0Azkqwyw9xbjsOx30jHRQ3yKqXwodNB4MndUeXXVHgMqf47ZK04vMxAM\nNMarBS6HQhfWy9owGtUjYPgA6glGjTjkDGe1DFS6yWaL438DljsEYWRKx8DK\n3Z3nP4+opRwA/8x7t55b8+Z07Ifu+f69uQpGMArfQPlZx997COPl85D0dZKk\nz8Uf\r\n=Dk7F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMMO0VAEYkiFom3olOFSNuVuompLqACB6CoXcVMifY0AiBVVYz1+n8YSM9eKRZoIvtBcXm4xtHEHOnm1/XUpe593g=="}]},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"_npmUser":{"name":"buschtoens","email":"buschtoens@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broccoli-merge-files_0.0.1_1549065611494_0.891151297145601"},"_hasShrinkwrap":false},"0.3.0":{"name":"broccoli-merge-files","description":"Broccoli plugin to merge multiple files into one or multiple files","version":"0.3.0","author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge-files"},"keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"scripts":{"lint":"eslint --ext ts .","test":"jest","prepack":"tsc"},"engines":{"node":">=10.1.0"},"dependencies":{"broccoli-plugin":"^1.3.0","fast-glob":"^2.2.6","lodash.defaults":"^4.2.0","p-event":"^2.2.0"},"devDependencies":{"@types/broccoli-plugin":"^1.3.0","@types/jest":"^23.3.13","@types/lodash.defaults":"^4.2.4","@types/node":"^10.12.21","@types/p-event":"^1.3.0","@typescript-eslint/eslint-plugin":"^1.2.0","@typescript-eslint/parser":"^1.1.1","broccoli-test-helper":"^2.0.0","eslint":"^5.12.1","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-prettier":"^3.0.1","eslint-plugin-unicorn":"^7.1.0","jest":"^24.0.0","prettier":"^1.16.3","ts-jest":"^23.10.5","typescript":"^3.3.1"},"_id":"broccoli-merge-files@0.3.0","dist":{"shasum":"01493e827ca7cf2dab2878be2c6e551bdbd8a194","integrity":"sha512-S3UaBnVphz0KkyNGpKMLnVl67YfkGvamgC5BkgDJgzzrtOUuEfKS4KvWq4M25zUF51G4FG6EgsPr428Iv3zbbg==","tarball":"https://registry.npmjs.org/broccoli-merge-files/-/broccoli-merge-files-0.3.0.tgz","fileCount":8,"unpackedSize":17476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVN3kCRA9TVsSAnZWagAAPo4P/A39Sy+B0wmFI/K1ke7G\nlg/W80Xm5NgymqOfQUJupkeHqFIDeogBo/iyzTN66g8VNq2NeKxRiv2rgSWS\nP1sTcl0gveza49y8KB9b7s5/wh+bpMUIREqWqMxI+5alO9P76wnWvY+F6vey\nhVJGEpBxCW9iZbeX76coEfNGBC0rqCJ1VaCnvqXu/R0gU+cnR0reHowP1w32\nOHZ2x3ytHU9CuBAC4pHWtkeWwe4iggbaX7NYwhuTKe+rRsT1V+1FqKuFuC3X\nx/eRwU18OPbtKep1xq8pcWB8VbSevapQY7ub7TKofXMV+dUdLJD+w5ETHaT/\nIcvN9S/fFXbkdtHUSLpIR0l00CpvHbkXc3xCvDyrVAFI+c3L3Q+1LnWNMazG\n7sQBuLQZryx/zluVFADDeQ38CvyYj8AySUVJHORZ8/DO+sSAr6zsQiAQCJtK\ntJBeGhr+T3mmxfp+V3vyKIM8JcGQghzAdz4gcblGr/VwVK2R+qK+Ex9+zE1C\nDUPyv1+MGo8YaXVOB/K21DOTGRhqoIFVQMm362AQtnduhcwFXfPHZ+Td4Y4z\nceJLbwNWHB55x6Pk0DOODsReJKUX+rIzX8NfLEL4mjbXxf7gnrxNlD9DeseS\nT6h9wXGqb+KGNFOj/4DKlDI64qDLXY5kKq+Vrvjiwknt6Ij4UKST4bXQXEAu\nePK0\r\n=9g4c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH3hWepuW7JRyawFKvTrRvD7yDNGWY9MYNyi4RXXx8YYCIHuEyQRKegs5oa1OrbKEXPKXaKLLw9UyEDfrsFJ5wti4"}]},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"_npmUser":{"name":"buschtoens","email":"buschtoens@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broccoli-merge-files_0.3.0_1549065699477_0.6832318725953759"},"_hasShrinkwrap":false},"0.6.0":{"name":"broccoli-merge-files","description":"Broccoli plugin to merge multiple files into one or multiple files","version":"0.6.0","author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge-files"},"keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"scripts":{"lint":"eslint --ext ts .","test":"jest","prepack":"tsc"},"engines":{"node":">=10.1.0"},"dependencies":{"broccoli-plugin":"^1.3.0","fast-glob":"^2.2.6","lodash.defaults":"^4.2.0","p-event":"^2.2.0"},"devDependencies":{"@types/broccoli-plugin":"^1.3.0","@types/jest":"^23.3.13","@types/lodash.defaults":"^4.2.4","@types/node":"^10.12.21","@types/p-event":"^1.3.0","@typescript-eslint/eslint-plugin":"^1.2.0","@typescript-eslint/parser":"^1.2.0","broccoli-test-helper":"^2.0.0","eslint":"^5.13.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-prettier":"^3.0.1","eslint-plugin-unicorn":"^7.1.0","jest":"^24.0.0","prettier":"^1.16.3","ts-jest":"^23.10.5","typescript":"^3.3.1"},"_id":"broccoli-merge-files@0.6.0","dist":{"shasum":"b57ce450ee5dd8cda4a1f66eb1b4c8c76444f089","integrity":"sha512-/7b+s8Ke6cSYlziH/L+Ku+MJ9do+93cxmnGXin5IDWx+6WrTwy14do+p88DVLNhddUCjVFn/bopLwUsRS23wfw==","tarball":"https://registry.npmjs.org/broccoli-merge-files/-/broccoli-merge-files-0.6.0.tgz","fileCount":8,"unpackedSize":17779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVttMCRA9TVsSAnZWagAA80EP+gPTeBXj++6UP3nova+4\nPdYBdMQDM100R452vPw4W80qWy0ePAWb6oHBBnxZwRICeEzIKXAidxeORShd\n2H0L0/zfD1z99zsfHiz1GqmceXM6Ay0iaVh5bh3dsThHdSQT3M+7EfAKxW6y\nw9NK5Bx0wS3RwfU58x2un+0U56FQ+zX67OB6tLCFeqiwsAanBFQlHYZQ6pgJ\nJeqHxkFQoCL9m0p45/naOXfORpPwxtY4JZEpzNIkUQ56XsENldEBr/e3i5SP\nPDrjw0YzKDPJaFQAFZpmmKbUiW/SYGlhr/oA1SBSiNfxBTs13Dduy/VeZe2o\nyDWyL/XPPqQQmQexX3hXdTy3fGkswfaO6VEA862Z7eekmS6PYefXJv7wcsTl\nxg7uRj/1dAXgAbzRqNkPbI7HCnoG/A0yBsht0houGRiNYr8q4YNUmn70EFRu\n0dZP9WIFc36a/byDekK0JO8JHPPxuBo7SPZr0bdOpDCDfjuyeoQ1xHo39Tty\ng3KdtCVpUgb5dNByDHQ5pH/sJFTNevEMO+uAHpUE6SaIG3cGMN7EBYg7zM26\n9IKYyNpAQMZj2swUDUF2SVTlFFlL+jwYIEwqIn2QXS5Pbn2mwRjvJIxwDw/9\nuO9+Z0dB9WelHhz6yvyJTZ0hKndGJtFL8tB6fvgqNhhUQLq7keH03U5epJhS\n1OTb\r\n=prPa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFw5RiBCq1PBBbkbHwzcEGV6SvO1jigw/3qH/NcL6no6AiB8iS4I9JNzgYg+jmgIkw2EfqpXcUGHLbghrcdPXqeDQQ=="}]},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"_npmUser":{"name":"buschtoens","email":"buschtoens@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broccoli-merge-files_0.6.0_1549196108419_0.17181237344151756"},"_hasShrinkwrap":false},"0.7.0":{"name":"broccoli-merge-files","description":"Broccoli plugin to merge multiple files into one or multiple files","version":"0.7.0","author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge-files"},"keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"scripts":{"lint":"eslint --ext ts .","test":"jest","prepack":"tsc"},"engines":{"node":">=8.0.0"},"dependencies":{"broccoli-plugin":"^1.3.0","fast-glob":"^2.2.6","lodash.defaults":"^4.2.0","p-event":"^2.2.0"},"devDependencies":{"@types/broccoli-plugin":"^1.3.0","@types/jest":"^23.3.13","@types/lodash.defaults":"^4.2.4","@types/node":"^10.12.21","@types/p-event":"^1.3.0","@typescript-eslint/eslint-plugin":"^1.2.0","@typescript-eslint/parser":"^1.2.0","broccoli-test-helper":"^2.0.0","eslint":"^5.13.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-prettier":"^3.0.1","eslint-plugin-unicorn":"^7.1.0","jest":"^24.1.0","prettier":"^1.16.4","ts-jest":"^23.10.5","typescript":"^3.3.1"},"_id":"broccoli-merge-files@0.7.0","dist":{"shasum":"3922b662c05f6c00266075b1a48cf528eb024934","integrity":"sha512-lNF7srsXpwJLT7+QsZedktzA0VHpduoGZWtgbj+HAPTpn0BJ+gzA7Zo+3HWjh9e7ilLqVTPd6JXrnW6HiaML3w==","tarball":"https://registry.npmjs.org/broccoli-merge-files/-/broccoli-merge-files-0.7.0.tgz","fileCount":8,"unpackedSize":17921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWeKzCRA9TVsSAnZWagAAcm4P/iiPk5pbsBzHwsLfSrWO\nYTRl06BzXrVPxr03/tHX6uGJYHz18BYhsEk1HzP/MPdqUwaZSR9bhYDKeUcI\nbc5sl5+ESOHCJ1NcYC/F5udTs6ma8JORIqrD0X3NmPRg5ZThdCkZrFa5xeyE\nhqSNxvbOugeC1NCneGJa8VpZNjPH0ae3TAWMS+r+a3oES2q/nju1qZUD5nal\nFbl8mxlzPBI5HWFDEyCCk1MiE5kDqF8soGFLF+9dVccZRfxpDGS9IKca9gWU\nyE39+7kK9/nlOSj9pVdwVOnu7qyQoBiDkAl/H1zEZi8d0u9yqGfhmxNUz52A\nK6Xq0ummPtIPZRy886q9BUdByBJ5trCiTdSzol4Oz79h50QXBko2iqqtND0m\nzES2sxqCs3E3S3jMjTxVgDWbWd54w9ZCpRHvRifnp3ORkMCfhEpXJ9Rr6FJd\nUWKplJrOmc8DvhFB+tKTKBIB06qXkQkp6GGe4t9v1XkG/k6E97UK1o1YtT73\nknS2NeHJj5iDfQpOaOqs2HtN4Qnsbw33iVaqM3RQRMkM0FN6yRSvOQ16HUoM\noBBck2Ed44GEP5jWWDiuRsvEYQdiNokYviRE+P2PqfDUNMjATCbv9RPFK7z+\nRKNqGxAqSMORgF1yTV1fF1C7B0lcd/L3nDw1crN6jc+Iqxx0UNvPP9DpeFWC\n8xs2\r\n=RY9n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBChAl6Z5yAyiO0SGkYuUkr8S2GMUaaAh7CP25U+4uYQAiEA8NYcJnGkd0+0FC9g9f2PqNHaw7kidc7QC87T2W3h91U="}]},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"_npmUser":{"name":"buschtoens","email":"buschtoens@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broccoli-merge-files_0.7.0_1549394611014_0.9427965415660349"},"_hasShrinkwrap":false},"0.8.0":{"name":"broccoli-merge-files","description":"Broccoli plugin to merge multiple files into one or multiple files","version":"0.8.0","author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge-files"},"keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"scripts":{"lint":"eslint --ext ts .","test":"jest","prepack":"tsc"},"engines":{"node":">=8.0.0"},"dependencies":{"broccoli-plugin":"^1.3.0","fast-glob":"^2.2.6","lodash.defaults":"^4.2.0","p-event":"^2.3.1"},"devDependencies":{"@types/broccoli-plugin":"^1.3.0","@types/jest":"^23.3.13","@types/lodash.defaults":"^4.2.5","@types/node":"^11.9.4","@types/p-event":"^1.3.0","@typescript-eslint/eslint-plugin":"^1.3.0","@typescript-eslint/parser":"^1.2.0","broccoli-test-helper":"^2.0.0","eslint":"^5.14.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^4.0.0","eslint-plugin-import":"^2.16.0","eslint-plugin-node":"^8.0.1","eslint-plugin-prettier":"^3.0.1","eslint-plugin-unicorn":"^7.1.0","jest":"^24.1.0","prettier":"^1.16.4","ts-jest":"^23.10.5","typescript":"^3.3.3"},"_id":"broccoli-merge-files@0.8.0","dist":{"shasum":"65ed9d6888548d44bf95208bc7759ac1d10bd382","integrity":"sha512-S6dXHECbDkr7YMuCitAAQT8EZeW/kXom0Y8+QmQfiSkWspkKDGrr4vXgEZJjWqfa/FSx/Y18NEEOuMmbIW+XNQ==","tarball":"https://registry.npmjs.org/broccoli-merge-files/-/broccoli-merge-files-0.8.0.tgz","fileCount":8,"unpackedSize":17955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcapAXCRA9TVsSAnZWagAAGqMP/RZmu0jCXcyxlrz0oFTK\nSnVQZx2ab5MLl1XWM7gCML88gwSJTjm9EASNywGDjCFpjSjaYjz0xmDGNqnX\ny6z/MiZVupijX7ulf9iGt8bW0+HPertcN4WwmUUSD5270LkZl3uirHUg57km\n2xIMXsXhKPzlPuHiv6JI9+ynC0Pi+CXLpdawp9ZBYJ//xPgsq4lGFwVQRi9g\nOsd3elkonwgC487rDncUSm8qeFZem3prdTJQYLBF71Vw9n5QcRlHQo9Vuudq\n2qQtxer1B9Bg8IX9uWb0kbo7XK/TbOmRer1+oQEOZWZbcEyE1JqHEaGpdo3Q\nsmDP6bzdXZmAVQvFJOAekp2Ua7aI2iChNf2y0rBW2CMLT2NsFCDNRJqFjtCK\nfbKyWAdhZJMuH+mFUkpj5ogup2NWxIxW3f4cihCtj2ngIv12VqtlCJd2h9ha\nqSx2hziLrEfA+TOKVLCDptTF6EeAsw5PtAHPE8N4/coYNVDSn3QhYdqRwZdE\nY1YUz4cc9ebKK53iwCIs6v2SCbZT/yRMC3aJ1BErNd1Mi2cMj9DHGPkj8+5E\nhxS+VdCWooa+iYrJtz7mYjKO4etKzp8pfK3292bZBNtNshnFiu5fB4ZptwBw\nhHGcF6jfPlrffD/8pbkj2MQ9c6j1DbquOI5UvaGjeYnvradSTGsfUO5ZvdK8\nMZF2\r\n=REVD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBjj3U/ZR6OzjgwLFksx1m3I1UrNlLPts6vAhrhwe2FAiEAq6k54ULIVm54SjCXpUcAz1DQIgR2JwY2hKc+u0iMv1I="}]},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"_npmUser":{"name":"buschtoens","email":"buschtoens@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/broccoli-merge-files_0.8.0_1550487575056_0.016696441412599627"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-02T00:00:11.494Z","0.0.1":"2019-02-02T00:00:11.630Z","modified":"2022-04-12T04:27:28.145Z","0.3.0":"2019-02-02T00:01:39.666Z","0.6.0":"2019-02-03T12:15:08.498Z","0.7.0":"2019-02-05T19:23:31.156Z","0.8.0":"2019-02-18T10:59:35.289Z"},"maintainers":[{"name":"buschtoens","email":"buschtoens@gmail.com"}],"description":"Broccoli plugin to merge multiple files into one or multiple files","keywords":["broccoli-plugin","merge","join","file","files","concat","reduce","append"],"repository":{"type":"git","url":"https://github.com/buschtoens/broccoli-merge-files"},"author":{"name":"Jan Buschtöns","email":"jan@buschtoens.me"},"license":"MIT","readme":"# broccoli-merge-files\n\n[![Build Status](https://travis-ci.org/buschtoens/broccoli-merge-files.svg)](https://travis-ci.org/buschtoens/broccoli-merge-files)\n[![npm version](https://badge.fury.io/js/broccoli-merge-files.svg)](http://badge.fury.io/js/broccoli-merge-files)\n[![Download Total](https://img.shields.io/npm/dt/broccoli-merge-files.svg)](http://badge.fury.io/js/broccoli-merge-files)\n[![Node.js Versions](https://img.shields.io/badge/Node.js%20Versions-%5E10.1.0-blue.svg?logo=Node.js)](https://travis-ci.org/buschtoens/broccoli-merge-files)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![dependencies](https://img.shields.io/david/buschtoens/broccoli-merge-files.svg)](https://david-dm.org/buschtoens/broccoli-merge-files)\n[![devDependencies](https://img.shields.io/david/dev/buschtoens/broccoli-merge-files.svg)](https://david-dm.org/buschtoens/broccoli-merge-files)\n\nMerge multiple trees of files into one or multiple files with a user-provided\nmerge function.\n\n## Installation\n\n```bash\nyarn add -D broccoli-merge-files\n```\n\n## Usage\n\n```ts\nconst { BroccoliMergeFiles } = require('broccoli-merge-files');\n\nconst mergedNode = new BroccoliMergeFiles(inputNodes, {\n  merge: entries => JSON.stringify(Object.fromEntries(entries))\n});\n```\n\n- **`inputNodes`**: An array of nodes, whose contents will be merged\n- **`options`**: A hash of options\n\n### Options\n\n- **`outputFileName?: string`**: Optional output file name, if `merge` returns\n  just the file singular file contents.\n- **`async merge(files: [fileName, contents][])`**: Called with an array of all\n  files to be merged.\n  - If `outputFileName` is set, expected to return a `string` or `Buffer`.\n  - If it is not set, expected to return an array or output files, like:\n    `[fileName, contents][]`, where `fileName` is a `string` and `contents` is a\n    `string` or `Buffer`.\n- **`sort`**:\n  - `true` _(default)_: Sort in order of input nodes and then relative file\n    path.\n  - `false`: Skip any sorting. Must not be used in conjunction with\n    `DuplicateStrategy.KeepFirst` or `DuplicateStrategy.KeepLast`.\n  - `(a: Entry, b: Entry) => number`: Compare function that gets\n    passed two entries. Basically what you would pass to `[].sort()`.\n- **`duplicates`**: If multiple input nodes contain a file with the same\n  relative file path...\n  - `'prohibit'` _(default)_: an error will be thrown and the pipeline crashes.\n  - `'keep-first'`: the file from the first input node containing it is kept.\n  - `'keep-last'`: the file from the last input node containing it is kept.\n  - `'keep-all'`: all files will be passed through to `merge`.\n- **`async transformFile?(path: string, contents: string | Buffer): any`**\n  _(optional)_: Lets you transform every file before passing it to `merge`.\n- **`patterns?: string | string[]`**: Glob patterns for\n  [`fast-glob`](https://github.com/mrmlnc/fast-glob/#patterns).\n- **`globOptions?: object`**: Glob options for\n  [`fast-glob`](https://github.com/mrmlnc/fast-glob/#options-1).\n- **`encoding?: string = 'utf8'`**: The encoding to use when reading and writing\n  files.\n- **`annotation?: string`**: A note to help tell multiple plugin instances apart.\n\n## Related projects\n\n- **[`broccoli-merge-trees`](https://github.com/broccolijs/broccoli-merge-trees)**\n  — Copies multiple trees of files on top of each other, resulting in a single\n  merged tree. Does not merge any individual files.\n- **[`broccoli-flatiron`](https://github.com/buschtoens/broccoli-flatiron)**\n  — Takes in a single input tree and merges all input files into a single JS\n  module. Since this plugin is deprecated and not maintained any more,\n  `broccoli-merge-files` includes a compatibility util to do the same thing:\n\n  ```js\n  const { BroccoliMergeFiles } = require('broccoli-merge-files');\n  const flatiron = require('broccoli-merge-files/flatiron');\n\n  new BroccoliMergeFiles([inputNode], {\n    merge: files =>\n      flatiron(files, {\n        // trimExtensions: false,\n        // prefix: 'export default ',\n        // suffix: ';'\n      }),\n    outputFileName: 'files.js'\n  });\n  ```\n","readmeFilename":"README.md"}