{"_id":"glob-module-file","_rev":"11-a71df4f570c726b23fba8055505d0f0a","name":"glob-module-file","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.0":{"name":"glob-module-file","version":"1.0.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"0.18.2","jsmd":"0.3.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"11f48c27377a861adc1330fe49023c557271ed3c","_id":"glob-module-file@1.0.0","_shasum":"769081100f62681a3c0727a658e52970e8217e6c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"dist":{"shasum":"769081100f62681a3c0727a658e52970e8217e6c","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-1.0.0.tgz","integrity":"sha512-Zo2A6wM38LBNRpPmQgU0v0WRlNuVYPJmLHOBR5YBcl9SDIQb+AuBrlMDqlt1gdqmUSgxBPOcYPc/UHNOkruYdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIfFyRUeOY+KyBjcsyuEaGYjlvGNVoh327aJ5olr7jjAIgRwqjBVil1xtxoWDLRCdzktYkumOI04k+5TzMYC1NRzk="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-module-file-1.0.0.tgz_1487478304302_0.9058360755443573"},"directories":{}},"2.0.0":{"name":"glob-module-file","version":"2.0.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"0.18.2","jsmd":"0.3.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"8fa014949c09e7bf849827bfbc674bb389e69235","_id":"glob-module-file@2.0.0","_shasum":"533d2d82e2be2332cd3d39f86042d3366b2ff6ff","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"dist":{"shasum":"533d2d82e2be2332cd3d39f86042d3366b2ff6ff","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-2.0.0.tgz","integrity":"sha512-JbOPSS9LtUrlj0vdlrREDIFR+//cZMCmoIVTJFu4bmqEvO2YpTbYgf46w4Da5oN4XfGlo6ExUU7Bkr6zamSOdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4icAYHqGuTxJxfh7RqTfUUNu4P8rQB3UF2MZPBlU3ugIgIfrFbmBccRJD0TsSB6NG7zPXU5j7PUpuJBLqBQ/iN/4="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/glob-module-file-2.0.0.tgz_1487629453082_0.2948912186548114"},"directories":{}},"2.2.0":{"name":"glob-module-file","version":"2.2.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"0.18.2","jsmd":"0.3.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"769706e26e45487666e647c1eb87a3f565f05111","_id":"glob-module-file@2.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"dist":{"integrity":"sha512-O4K3ipmhisuELSC4xdNHWDljbLM1Q44/xZ1ngr/NyyRHg0NvB1kH/5jm8mm3g0bH8G0rJYjjuHVFaKL2nGEKig==","shasum":"146c57ce8e0953a49aab8049da7c5b1ceaef34a1","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-2.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyhuKtcDv+fna3w8PpNewEd4d4Z8saG9TwOWDsWJD+MQIgdKzifZ9HLbjJwY5ybmn7ugqAemSctFqZedHPbBbYHdc="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file-2.2.0.tgz_1510702668967_0.4325702050700784"},"directories":{}},"2.2.1":{"name":"glob-module-file","version":"2.2.1","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"0.18.2","jsmd":"0.3.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"79e0c2abe8899f11c99d5deaea7c437736ef9dda","_id":"glob-module-file@2.2.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"dist":{"integrity":"sha512-DJahUh5PsYgVIV2Fy+aP1FuQQLSYKBjeAu50rFsQofCAEM4J5GmrsEkDD0aSNeYKfvpWf6WUkh2OZ51BuCIdPw==","shasum":"649df17fa5b6a11cc90fa814e50c2a519d9eb8dd","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-2.2.1.tgz","fileCount":12,"unpackedSize":13760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGadFCRA9TVsSAnZWagAABW4P/RyH8qwirFvByPoKySHi\nFHNi/v326VEfJKhK1PwjohXS5a9eY8zBNQFTZ3pFBx0eDhRki9XyWF2toa95\n46kQJqr79WSOVlAkej+BzmVB9ZC4O9pttXOidpRWgbagszmy+y+1AXn9Ajl2\n6MZkfauPw4R3/IS4+S3znQGOtWFJ+hwve03ELBRVDDF4iIi2TEZA202vxHrS\nfNeEWrNr27l9uQSMCZGtkQhIbPEJa4PICjclCT6if9SAN0uSBlt/MgnW+Fsf\nbCukYYS78kFnLRSKAr4odIceavj8CmbH3a0nLzOF4oiMpPvQw2eBH524qDug\nubLVxMz6JZZj+mL6ORBNU0MLJuf2xkIb9jAvDNiKXKjqSrqjYRToHVO+by4H\na2bG+LztUHP1+llT+tCfV4kSE5ZrAPbKQCjlD7+B2H2Oi2mxErDujkYzo86z\nHeYvnR1MtOj9TbZ6krXP2Q2V9p71GM7zeHBTIjeqI0qJymPt8J92O0B7myi4\nFG4iDOw9PIcl28wJz3AoBJ/hYfTRH9Yf0Pjw8MS/TE7TBnAMBurLfKPq5NSY\nETJeykbo0/UjcPhDa9DNwEPfU5A/Cju9O54oXwoAc4Ghehs80dzL4yqoaN+u\nWWWKJrSn2qzf8XzXVo7WKMkKwXxjRQBh05wal67+xxie3N9tYMQhPgOlNvu2\n9tYB\r\n=vTVI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrci3pIvsT7dkqxZ1Fjl37rXQHxnsRqRWA2EjDvhZjWAiA/ITehQjLy3Xtthha5yDBsvzhr9mehfaraLXVvmowKRg=="}]},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_2.2.1_1528407875895_0.4857290408591075"},"_hasShrinkwrap":false},"2.3.0":{"name":"glob-module-file","version":"2.3.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"0.18.2","jsmd":"0.3.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"6def6a955113b2b0f1b28ccf9ff42a3412d4c52e","_id":"glob-module-file@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"dist":{"integrity":"sha512-8POTFTwA3KQjMcmn2bUfrGPU3mOsvc/3gNalqRYqP6FHNdUVcnyvgO0ebQlDrKKB3409tH1wAIDAb5wMvaE+nA==","shasum":"16247b17302f605cce4000ab75d58aa3f8327699","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-2.3.0.tgz","fileCount":12,"unpackedSize":14623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJconnhCRA9TVsSAnZWagAA7TkP/2A+wbFIw/ZXSSrQqd9t\nyUgzb+B+AS5/pcaO9VarsiHMY0Ug/h6ZupU7cCPRDsrbhplywDZJ6u8y2itG\nkO0Fp5jdTDU1N8eSr6zBeUIWKyNapXDtWQerAvkvJ/7UbUXyEsvZOYCYE3Rp\nDxKYr9ELk9GG56DbJ0DvHOGArl9QDrCw9O9Y4ada3cEtgGcGr0eGBC77bJhw\nw0t4MARSRbWXJM3ctaVPzedMd3v0boDMCIHkUyS5EwvvxzPTx2gkNWLun873\npnIzAVcbYEV42JykQ27e4ng5lJlqoEDOyc4anI7/H6g4VxJ4LdecwII6nQBE\nnNoxSAblU/jV6BzG8y/w7LLIXon/DnpHBLDDnedhiWkMR8Q9xQlhmyINsfpJ\nmV5La1A42asTtbzZGUx9tFlWR/BkI6HPg/apahhngOwULjbzmvZl7UXZ7rLh\nRTuB6J3kCfKpaoIjYl78+9QaNeVj2LWPBWHGvBIT3fKspNR51XQwPiRuY1pp\nKX8AOGAt1CmDx+Ci72XSrq+9j7JaF+1YWrVnIP+wK+m1McR9r1mKFkboTd6B\nHqrNj8XU+igk2LajZdbtefTMGyZRBZsWTPUVcHrBiQ+JSvLdN7/TG3nWoqwV\nwK2cAZC2fDyktIjPSz8Kl5tLg6kJuDiZqIn2QfhLkYYHEBVFDvYq3VSBz172\nSnCM\r\n=w6Gz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOwU6gIheYm1f68Sw0WJa6dFPQpnbO52F5NRNl4Zw6IAIhAJCGDWwJyjXqzLKel4VAUPJ2H/GfoxG4rAvjFcPrYF7Y"}]},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_2.3.0_1554151905088_0.560770114286065"},"_hasShrinkwrap":false},"3.0.0":{"name":"glob-module-file","version":"3.0.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"^2.1.0","jsmd":"^1.0.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"a005e45d28a27e63e04cfe7a9cb62b952d93fe1a","_id":"glob-module-file@3.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LJ6rgLsDSiXSoX4L7+LVuA0JbXPHmYw6J+MyDcvw+prGua61ZMiop7N02FNB69g9AVR+udoEssUu/OtTbgAC3w==","shasum":"70425ce3fbae733d7b648a8da729b58d695052c1","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-3.0.0.tgz","fileCount":12,"unpackedSize":14859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHNiTCRA9TVsSAnZWagAAUigP/jVZzs32EqC2tcrXnCxB\ngnh21yMJYTUZi0O1YGdYnhVf9jRugZJmZqQE2iVNPHVdu/gQIDJGPskvYZxn\nZjckWQtXDeuvhlJu9If+rZUlZKtAV68G2bDRVvHGPqT9OWG20jkxCh7fTAwM\nx9p22te+uHQQP9aTnD5Y599+KMFrH8MrW4IlMcF3KkKVAgWhzzob8Dflq4xe\nFPdIk7ucmNgatm4Pa2pJYUXbnOX4t85JoWXLHP3raqI8BrzClHWZ2zww/+qj\nBYDbIRbPVVFBcTgx6S/FzU1QR2V1fUwiX66kDWmQn08y7kaPutOuFZAALaow\nOMWvzu+EAIlqB+RWvPVSSJX+pQUvf/ueL7SIAn9qfb1m3ZLFBCHIczKz5ccK\n0FMQki89dFNoju/QwA2qrp49dU5rO26xo5ILMCbjtOQxMw3YFRbDyY1d4i6a\nDakhrouGoRCGLYXEyxM6Q4YqKJJMIuU3UHj1693gMQbfCZJ508A3zyrvp4W6\nRygwtqKqihgZX3vtkiOH+BpRkUow0CEUtI16q2FnAaQzxTE0UcEH3kbLW335\nbGVpIIHtoclIT9ht6YRmzxTgfJIaKvi3LW0X2qkRdfRNZ/Q9SDdz7g52N522\nizxGZ4ktsHma3ReKrcg+jaoP2bjYxwbYgxfEbDKMypXZILZSDVffN9Wutbd3\nsMs5\r\n=iBqK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCStuWd1ze0VnlTD+A47oUjMjX6zUY+bNlAm5s9FiKegIgAWArK56SDUEUb5dMARtq25vrK4bYvFK31YzjyQ5KJkY="}]},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_3.0.0_1562171539123_0.05338908566564604"},"_hasShrinkwrap":false},"3.0.1":{"name":"glob-module-file","version":"3.0.1","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"^2.1.0","jsmd":"^1.0.1","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"1.2.0","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"a3464a1c6f549086235627d91f4e8555261d261d","_id":"glob-module-file@3.0.1","_nodeVersion":"12.8.1","_npmVersion":"6.10.3","dist":{"integrity":"sha512-Py6XWWr8qPdp2e3GHs+6k5iRnmh71KN5d3XM+t/2L25RgGl1GwbIaeB+Te5DiAFk0Y2rZ4z7v8ekU4DBZp5xqw==","shasum":"64e82fcee838b87d388adda89efdf07b497acdf1","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-3.0.1.tgz","fileCount":12,"unpackedSize":14884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoM/nCRA9TVsSAnZWagAARVEP/0vxgE6792O/oNfT0z9E\ne0sRSCZ+LVU1aV+7b4D00yJ4RioBVNVjS2STw9qSXFT4V2d9rkMOb2qBcXLL\n7wAyo8yIYzgQhOpJXdJj/xuKznbbrA8es8MYkj23eeDbRfbsJSkXKi1Bb+zj\ny+Ex98PQpJRfucVGECzPh+00aP9yDgzJg8AanowZfyCoJ3PiAq8JDHvYBEAL\nYlH7GQh3pd04pVPJtNTziu/WbWPkDtGdgF4AxQmJoamyzf/ZzPW5fgzsok/H\nYRYlvypu5SspaWXJF4tPmIB3K0CXRlv24aaizo6SkkAJt4SvmmibeIC72Uff\nQkQar6oMMhhY57SFq+fSibh0HtQTrB26pmCsF2Kts8Va13uViObbFFnq1Cv4\nqiibkecIkvONXjKzLuj3INlKcWYX+OkzPhYMA1zDVz8GkEbx4KiB/j2G0tUQ\ng3hUcnd8aH1LeNj5OpKZNIwA8NfFyibH4ir0riz/5BmBSna+vfKt25pVwTG2\nZrS94FA0pEWfL+9XLMC6fEctEVsUTx7izLA7h3EcljNbJiZPUHvhTm7v9fv2\nJYN+O/oumpBoCaymLmu9qdFZyyIdvfQaksRW3PP8av4KMNrpiFz0Gc9wG8q3\nZEGe/9li1g9n2tR+LGeZ5PYIpePadA8m43t1v1kE5L+SXXlxo4n75WjAI4Ol\nzIhh\r\n=OwAP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ6Sj11ZSFgdEIlC+rptxR37XLPNrWf4AwlTL0eVFZzwIgLcEuVaS7UoEEZT/ryQFALMTmIZO1H/QHdeJleHwSdbs="}]},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_3.0.1_1570820070311_0.9489328836877207"},"_hasShrinkwrap":false},"3.0.2":{"name":"glob-module-file","version":"3.0.2","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"./bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"^2.4.0","jsmd":"^1.0.2","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"^1.2.5","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"ea3f3f9eb158eff4b64aa493e008449c03bd8e07","_id":"glob-module-file@3.0.2","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-JZDdZgAgBdeWLFsxZlvnE5xWzJ74XJb+L0tsXzawxJiS+v640jwihzemogzrMvkBtCqCuxgO7GsRQrw4afoIHw==","shasum":"b8a06d9c68308004e15790055b1377e83671a80d","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-3.0.2.tgz","fileCount":12,"unpackedSize":15001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiU0SCRA9TVsSAnZWagAAu+AP/2cXuObdcrw0Tfv0hTAn\nvMoIVvAhDEjRtL7jZUVAuef1cyuOR08NObLA+1bZixacQ4P7+6x4gMq98Ilb\nPUjbaNmLJfC/KUePs+6tSloHoF54XhyZVgIJajsI/RsB6KG+w4V/mfVYx0oo\n+oUYROnDpM8kCQqeu1FATDV/5qvVNXwGnkuBVXn65JYzv3F1a/tyWYVpJhj/\nCGJw6z5nVFBvIJgFadQHvK9+i0qeKsVnpfqVdn40ei1Yyj9CrrwYWlKqlxl/\nG0Ce8TILvsATMV3vP0nxaKuYnlmIkRSG3m22rvWa2Gq9vjgamnZof3p1dl+S\npwOVljpo9PsqDeVVXXenS+hxPuFoLJbx4wRJBYjlGvm4QYTanoc4mI0nXeWp\nLlpgPID+6jOJ6UNnrBaD9UrRGXpVPzLsXUuVoyra68yajRhXQeIv9c54fP+X\n8HMX9cEV6Puy51oMjgaH7detLt56YML5NT1x6lwH3vf7WxHlJsgTcMCvwm8p\n1nRegcZQ8UWxklnB4d5Rqsvd1BGq+Djwp51fFwcJJWgWbWdYR4uqPmLOCO3Q\nC3WOl2YeTAZrSHRn0hD4JtR+aX4t5xI20yPMwYQw7wj4OywV3YbWGUNeQdy4\n/NdrjKtikssgLCGwNe/6ahJwiv3sBaNew77LaWrIvFRZHeVKdkCTKiAJjxTG\n6In7\r\n=wrqx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCROjp/jFu/skc9b5n+Gs3JX5uCCXCYuxx1dH8B1xsWpAIgZBFvum6FvnbQs5Sr8GkKXxbCrmPGwrem7EZJjL1tZgk="}]},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_3.0.2_1586056466215_0.8437469630996302"},"_hasShrinkwrap":false},"3.2.0":{"name":"glob-module-file","version":"3.2.0","description":"Generate a file of code that imports/requires a bunch of files, and exports them as an array","main":"index.js","bin":{"glob-module-file":"bin.js"},"scripts":{"test":"ava && jsmd readme.md"},"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"author":{"name":"TehShrike"},"license":"WTFPL","bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","devDependencies":{"ava":"^2.4.0","jsmd":"^1.0.2","tempfile":"1.1.1"},"dependencies":{"combine-arrays":"1.0.2","glob":"7.1.1","minimist":"^1.2.5","then-denodeify":"1.0.1","to-js-identifier":"1.0.0"},"gitHead":"4fcc8b604ea5fd0104635ffc420e0010613ad624","_id":"glob-module-file@3.2.0","_nodeVersion":"18.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-9YmhybP0ZZuDtk/PIvYnlI1XXdJdeiSQPJbePQuLFPR62SUcRe6gurqVSpFGuhUhFSadg9/rDgICajo9HPMYAg==","shasum":"30b109e5ee7688b2877b5ce5f43646727434b87d","tarball":"https://registry.npmjs.org/glob-module-file/-/glob-module-file-3.2.0.tgz","fileCount":12,"unpackedSize":15042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCI6tjedgzqhBDHJEwq3cDshY1LKXLyZ9v6XfjFOoELwIhAISzw6RqJ41Z1DBp/VEn7lzviBa4xTbiDiJfm2EV4SXa"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEJuqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoarA/9Fbg5HVleSpPndSHAHjNDcOh06cjIzz0A+4tEhlwi+bOFyD6B\r\nFabW33n2w1k83VoBQJH470/jlJgSQgacQbloThvTvnodg/tK74f5PlpxfjTW\r\nt8Ft2R6L9+TBMwQAe1vudDILLizaI5zixEiqQy+A5dU0FfxtsB/ZoOg8cAiG\r\nWr/Fk27zAWQ23/XX7GsJyj8kil5YS7ZoguubABqlul2GB8OVlBJ1cvArCSwI\r\nBzpYPBze7+Mh3QBbu1GfJXC7JUVq1FphfBDbN7zuW1AuQ3Zz7d5boEA72nVU\r\nyT5GJg8RycluX1E3X8fKHYEvy2QvI7cAoc0Afo6nrwvyDvhEx5njv7jvnBud\r\nWlfx+USk6yiKmhQKUbEoZ2ilA7mMaiuXdSU/iowgAhZRzKi24sxyFyIydZDr\r\nsxDUIAZe6E+lXqx3IDObBQIWKMnMM9qyWZ08G3IGYP2McZCziDLro+tZ8THS\r\noGvlUDvEjgVHJiMFqln7yKYz7NXUeSi+h4MWxkIyZPz6rgR2YEjh3Tbqrrzu\r\n97s9twS1cxykghYmDdMbivzYf1UEWA8Lj29YxqbZRYwMwNY2l16nLOjwcefF\r\n7ow/Uu+nogY8PE5tg0OyvJi84wbYBkxFIBWQEoClPxxBaxsXrMImugIkBNOD\r\nSa1tXZZypFWzszu8hPAdrg0xM7uvVsGoEsI=\r\n=kcn1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tehshrike","email":"me@JoshDuff.com"},"directories":{},"maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/glob-module-file_3.2.0_1678810025956_0.15044147988880452"},"_hasShrinkwrap":false}},"readme":"# glob-module-file\n\nPass in a file pattern and an output path, and a file will be created that imports all the matching files, and then exports them as a single array.\n\n## Why would you need this?\n\nIt's really nice to be able to auto-initialize a whole bunch of parts of your application, without having to maintain a list of modules to require in your index.js:\n\n```node\n// Maintaining this is inconvenient\nconst coolService = require('./service/cool/the-coolest.js')\nconst niftyService = require('./service/nifty/nearly-as-cool.js')\nconst yetAnotherService = require('./service/hope-you-didnt-forget-any-other-files.js')\n\ncoolService(initialConfig)\nniftyService(initialConfig)\nyetAnotherService(initialConfig)\n```\n\nTo avoid dealing with such ever-growing lists of modules, I've used this pattern in node.js code:\n\n```node\nglob.sync('service/**/*.js', { ignore: 'service/**/*.test.js' })\n.map(file => require(`./${file}`))\n.forEach(moduleFunction => {\n\tmoduleFunction(initialConfig)\n})\n```\n\nIt finds all the js files in a part of the application's directory tree, `require`s them, and then runs them as a function passing in some initial options.\n\n### However\n\nThe above code doesn't work for client-side apps built with a bundler.\n\nBundlers must be able to tell which files will be loaded by reading the code, without executing it.\n\nSo, you're back to maintaining a long list imports/requires somewhere.  Unless you use this library.\n\n## What does it do?\n\nGiven these files:\n\n```\nfixtures/one.js\nfixtures/someDirectory/two.js\n```\n\nCalling this library and passing in `fixtures/**/*.js` and `my-globbed-files.js` will cause it to spit out a file containing:\n\n```node\nconst fixtures$47$one$46$js = require('./fixtures/one.js')\nconst fixtures$47$someDirectory$47$two$46$js = require('./fixtures/someDirectory/two.js')\n\nmodule.exports = [\n\tfixtures$47$one$46$js,\n\tfixtures$47$someDirectory$47$two$46$js,\n]\n```\n\nor, for es6 module bundlers:\n\n```node\nimport fixtures$47$one$46$js from './fixtures/one.js'\nimport fixtures$47$someDirectory$47$two$46$js from './fixtures/someDirectory/two.js'\n\nexport default [\n\tfixtures$47$one$46$js,\n\tfixtures$47$someDirectory$47$two$46$js,\n]\n```\n\nThen, all your index file needs to do is\n\n```node\nrequire('my-globbed-files.js').forEach(moduleFunction => {\n\tmoduleFunction(initialConfig)\n})\n```\n\n## API\n\n### `globModuleFile(options, [globOptions])`\n\nReturns a promise that resolves to the JS code with all the requires/imports and exports.\n\nIf an `outputPath` is provided, the promise will not resolve until after the file is done being written.\n\n#### `options`\n\n- `pattern`: *(required)*: Passed to [glob](https://www.npmjs.com/package/glob).\n- `outputPath`: A file to be created or overwritten with all of the import code.\n- `exportWithPath`:  If false, exports whatever value was imported from the original file.  If true, exports an object `{ path: thePathStringThatWasImported, export: theObjectExportedFromTheGlobbedFile }`.  Defaults to `false`.\n- `format`: Specify the module output - either the string `es` (import/export) or `cjs` (require/module.exports).  Defaults to `cjs`\n- `sortFunction`: A comparison function to be passed to [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) to determine the order to import the files in (and determine their order in the output array).  Defaults to a function that orders by how deep in the directory structure the file is (shallowest to deepest).\n- `pathPrefix`: A string to be prepended to the paths passed to `require`.  Defaults to `./`\n- `importStar`: whether to use `import * as whateverExport` instead of `import defaultExport` when outputting ES module syntax.  Defaults to `false`\n\n#### `globOptions`\n\nOptional.  Passed straight through as the options argument to [`glob`](https://www.npmjs.com/package/glob#options).\n\n## Example\n\n<!--js\nconst globModuleFiles = require('./')\n-->\n\n```js\nconst expected = `const fixtures$47$one$46$js = require('./fixtures/one.js')\nconst fixtures$47$someDirectory$47$two$46$js = require('./fixtures/someDirectory/two.js')\n\nmodule.exports = [\n\\tfixtures$47$one$46$js,\n\\tfixtures$47$someDirectory$47$two$46$js,\n]\n`\n\nglobModuleFiles({ pattern: 'fixtures/**/*.js', outputPath: '/tmp/globbed.js' }).then(code => {\n\tcode // => expected\n\n\trequire('fs').readFileSync('/tmp/globbed.js', { encoding: 'utf8' }) // => code\n}).catch(err => {\n\tconsole.error(err)\n})\n```\n\n## CLI\n\n```sh\nglob-module-file --pattern=\"fixtures/**/*.js\" --format=es --ignore=\"**/one.js\"\n```\n\nTakes any number of named arguments corresponding to the options objects above.\n\nSpits the code to stdout so you can pipe it into a file or what have you.\n\n## License\n\n[WTFPL](http://wtfpl2.com)\n","maintainers":[{"name":"tehshrike","email":"me@JoshDuff.com"}],"time":{"modified":"2023-03-14T16:07:06.200Z","created":"2017-02-19T04:25:06.246Z","1.0.0":"2017-02-19T04:25:06.246Z","2.0.0":"2017-02-20T22:24:14.949Z","2.2.0":"2017-11-14T23:37:49.908Z","2.2.1":"2018-06-07T21:44:35.967Z","2.3.0":"2019-04-01T20:51:45.203Z","3.0.0":"2019-07-03T16:32:19.227Z","3.0.1":"2019-10-11T18:54:30.507Z","3.0.2":"2020-04-05T03:14:26.372Z","3.2.0":"2023-03-14T16:07:06.105Z"},"homepage":"https://github.com/TehShrike/glob-module-file#readme","keywords":["glob","require","import","file","entry","point","browserify","rollup","bundler","export","module"],"repository":{"type":"git","url":"git+https://github.com/TehShrike/glob-module-file.git"},"author":{"name":"TehShrike"},"bugs":{"url":"https://github.com/TehShrike/glob-module-file/issues"},"license":"WTFPL","readmeFilename":"readme.md"}