{"_id":"@allnulled/htmlbundler","_rev":"4-0c57d343598753e93eb8bd3b8c472b21","name":"@allnulled/htmlbundler","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@allnulled/htmlbundler","version":"1.0.0","keywords":["bundler","html","css","js"],"author":{"name":"allnulled"},"license":"WTFPL","_id":"@allnulled/htmlbundler@1.0.0","maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"bin":{"htmlbundler":"htmlbundler.bin.js"},"dist":{"shasum":"d9bdb93af45799710fe7e8b88362dafe47065bbf","tarball":"https://registry.npmjs.org/@allnulled/htmlbundler/-/htmlbundler-1.0.0.tgz","fileCount":19,"integrity":"sha512-7083tcHqaYEM7cyemr258i/1ZNQDWZOwjGwp6pi3gSqNNdKpRV7WFdOHZ/hfn7bAlHTwjJMg8AYs7w+X+sDRXQ==","signatures":[{"sig":"MEYCIQDztBitVG5HwtFWJ48ISTYlUEfumOAsW3t78kED8I35EAIhANcV0nJoUsVeCOBzA+TNKYfgKfmpl3kXqeiB/CTB6JQ7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7713},"main":"htmlbundler.js","gitHead":"32ef1d7086290a808eee1f82c9877761438ac069","scripts":{"test":"npx mocha test/test.js"},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"_npmVersion":"9.6.7","description":"Like simplebundler but using a *.js list file instead of a directory","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/htmlbundler_1.0.0_1734936262937_0.7916563079229184","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@allnulled/htmlbundler","version":"1.0.1","keywords":["bundler","html","css","js"],"author":{"name":"allnulled"},"license":"WTFPL","_id":"@allnulled/htmlbundler@1.0.1","maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"bin":{"htmlbundler":"htmlbundler.bin.js"},"dist":{"shasum":"8850195174c4edd8db97f02c290eeb48503bdc94","tarball":"https://registry.npmjs.org/@allnulled/htmlbundler/-/htmlbundler-1.0.1.tgz","fileCount":19,"integrity":"sha512-tRXjSrR7F7u9SlY9og0Xg5EdXr6sfOGCTRDO0e18lMpOL0w/ro+5VmVPzCqbDuALjqWk1PBX5b06mjOt0tstZg==","signatures":[{"sig":"MEQCIFLYgOvOghf4CZzSM1RweNjc3V7mOcGiCXTNAKxBO7oXAiAZXcbtRHM9Iu2NBfPVLlgf/PLvIXdT7yGeHW6V9j7pcA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7733},"main":"htmlbundler.js","gitHead":"f7be3c2511b761230b3cc0bf0764c8137beec8d3","scripts":{"test":"npx mocha test/test.js"},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"_npmVersion":"9.6.7","description":"Like simplebundler but using a *.js list file instead of a directory","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/htmlbundler_1.0.1_1734936667636_0.14557456250141043","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@allnulled/htmlbundler","version":"1.0.2","keywords":["bundler","html","css","js"],"author":{"name":"allnulled"},"license":"WTFPL","_id":"@allnulled/htmlbundler@1.0.2","maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"bin":{"htmlbundler":"htmlbundler.bin.js"},"dist":{"shasum":"52d68db0fc826f29faae76630167b4163a3955b8","tarball":"https://registry.npmjs.org/@allnulled/htmlbundler/-/htmlbundler-1.0.2.tgz","fileCount":26,"integrity":"sha512-HPUwbbdAVwoAWFDVS+RmRk4BfNd29slwZtQZ41MiluuIEXvILEehiu13j+v9rmj+0LMDzQVPC+wW788mz9mduQ==","signatures":[{"sig":"MEUCIHlhnf7XJqe/z0K61eQUOaE2Z6t2dBjtgVo/tCX72EjSAiEAy+GQlifTAZARcYycwKIApB8mfq/Yp9j0ULjYcTSbVcs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9086},"main":"htmlbundler.js","gitHead":"b682f63bd48d0b34a71a956750f17f5bf2e4a30c","scripts":{"test":"npx mocha test/test.js"},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"_npmVersion":"9.6.7","description":"Like simplebundler but using a *.js list file instead of a directory","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/htmlbundler_1.0.2_1734943693933_0.7252952773456112","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@allnulled/htmlbundler","version":"1.0.3","keywords":["bundler","html","css","js"],"author":{"name":"allnulled"},"license":"WTFPL","_id":"@allnulled/htmlbundler@1.0.3","maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"bin":{"htmlbundler":"htmlbundler.bin.js"},"dist":{"shasum":"f52cdcd037b40a26393186409dd13816dbaf4852","tarball":"https://registry.npmjs.org/@allnulled/htmlbundler/-/htmlbundler-1.0.3.tgz","fileCount":26,"integrity":"sha512-MDOB6kuwrJeyPRhmI/MFvbyHeRDRINN/SpPPPVE1XeHJJ47H8sYUTZifu1TnckwIlY5KlsOLpHdkeVY3p+q7kQ==","signatures":[{"sig":"MEUCIHuEe0IBmYPkZzj0j8S5Z2Ljz/sSqxodBPQ7F7UsiIebAiEArJZZREbPtfeoDU184l9aRZAsVrGOr3gKQlh6/hWYriA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8974},"main":"htmlbundler.js","gitHead":"3130e3810e10b1a958254b9910a03d4b5ab3a75f","scripts":{"test":"npx mocha test/test.js"},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"_npmVersion":"9.6.7","description":"Like simplebundler but using a *.js list file instead of a directory","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/htmlbundler_1.0.3_1734943785025_0.0773578047424397","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@allnulled/htmlbundler","version":"1.0.4","description":"Like simplebundler but using a *.js list file instead of a directory","main":"htmlbundler.js","bin":{"htmlbundler":"htmlbundler.bin.js"},"scripts":{"test":"npx mocha test/test.js"},"keywords":["bundler","html","css","js"],"author":{"name":"allnulled"},"license":"WTFPL","gitHead":"806c2d1f66682bf87fd92e0a83b6431366368ab7","_id":"@allnulled/htmlbundler@1.0.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-hF5NprZQtGhqlEDZhZg3/ZLJbJN3LHct4o/B15qcfkAayNltKHga5ehWugODL8flAAdwZtsSmBZg8ySvMofWCA==","shasum":"195582b9efa6b75f0e52981a12fb3d7dedb07646","tarball":"https://registry.npmjs.org/@allnulled/htmlbundler/-/htmlbundler-1.0.4.tgz","fileCount":26,"unpackedSize":8954,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCxCUSK3r+hwBllZ/4rLJL6cjqib0e+gMdtMWq2kyxKogIgUK51xSwYmRSoQWvrpoa/pdS/MyIh8Z2jHuEOHWR6vLc="}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"directories":{},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/htmlbundler_1.0.4_1737562264970_0.6310972662249974"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-23T06:44:22.809Z","modified":"2025-01-22T16:11:05.372Z","1.0.0":"2024-12-23T06:44:23.091Z","1.0.1":"2024-12-23T06:51:07.816Z","1.0.2":"2024-12-23T08:48:14.088Z","1.0.3":"2024-12-23T08:49:45.201Z","1.0.4":"2025-01-22T16:11:05.203Z"},"author":{"name":"allnulled"},"license":"WTFPL","keywords":["bundler","html","css","js"],"description":"Like simplebundler but using a *.js list file instead of a directory","maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"readme":"# htmlbundler\n\nPack JS universal modules from CLI or API from a list of files. But no webpack or shit. Simple.\n\n## Install\n\n```sh\nnpm i -g @allnulled/htmlbundler\n```\n\n## Usage by CLI\n\n```sh\nhtmlbundler\n  --list bundlelist.js\n  --output dist/file.js\n  --ignore file4.js file7.js file9.js\n  --id MyCoolAPI\n  --module false\n  --wrap true\n```\n\n## Usage by API\n\n```js\nrequire(__dirname + \"/htmlbundler.js\").bundle({\n    list: \"bundlelist.js\",\n    output: \"test/example1/dist/app.js\",\n    module: true,\n    id: \"Lib1\",\n    ignore: [],\n    wrap: true,\n}).bundle({\n    list: \"bundlelist.js\",\n    output: \"test/example2/dist/app.js\",\n    module: true,\n    id: \"Lib2\",\n    ignore: [\"only-browser.js\"],\n    wrap: true,\n});\n```\n\nUse `wrap: false` or `--wrap 0` to not pack the files as `.js`, but simple concatenation.\n","readmeFilename":"README.md"}