{"_id":"@allnulled/simplebundler","name":"@allnulled/simplebundler","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@allnulled/simplebundler","version":"1.0.0","description":"Pack JS universal modules from CLI or API. But no webpack or shit. Simple.","main":"simplebundler.js","bin":{"simplebundler":"simplebundler.bin.js"},"directories":{"test":"test"},"scripts":{"test":"node test/test.js"},"keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","gitHead":"8005c56833e6d1bde2a4115e46bed129445d96c4","_id":"@allnulled/simplebundler@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-UIaHcZxbtnUEM0eA1xqShN1/F1KwrXLS6Pjf0KjR4Oo5GUW8oXJFt+HwQYZKFMpMC51DnYoYlPZbqlNj9JTjSw==","shasum":"17e962107c9cd8a3326fa8883c9a00d1e1299c4c","tarball":"https://registry.npmjs.org/@allnulled/simplebundler/-/simplebundler-1.0.0.tgz","fileCount":12,"unpackedSize":8006,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHnyW9fJheR/npVGSORTeg0CpdrLEW2VT9um6QcwoQBQIhALxwGBI7x0lhdktFYyvbomFyLY9IRH6Zj9V2m+p2U6Cx"}]},"_npmUser":{"name":"allnulled","email":"todosanulados@gmail.com"},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/simplebundler_1.0.0_1734432841538_0.9883281420618653"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-17T10:54:01.396Z","1.0.0":"2024-12-17T10:54:01.718Z","modified":"2024-12-17T10:54:02.046Z"},"maintainers":[{"name":"allnulled","email":"todosanulados@gmail.com"}],"description":"Pack JS universal modules from CLI or API. But no webpack or shit. Simple.","keywords":[],"author":{"name":"allnulled"},"license":"WTFPL","readme":"# simplebundler\n\nPack JS universal modules from CLI or API. But no webpack or shit. Simple.\n\n## Install\n\n```sh\nnpm i -g @allnulled/simplebundler\n```\n\n## Usage by CLI\n\n```sh\nsimplebundler\n  --dir directory\n  --output dist/file.js\n  --ignore file4.js file7.js file9.js\n  --id MyCoolAPI\n  --module false\n```\n\n## Usage by API\n\n```js\nrequire(__dirname + \"/simplebundler.js\").bundle({\n    dir: \"test/lib1\",\n    output: \"test/lib1.browser.js\",\n    module: true,\n    id: \"Lib1\",\n    ignore: [],\n}).bundle({\n    dir: \"test/lib1\",\n    output: \"test/lib1.node.js\",\n    module: true,\n    id: \"Lib1\",\n    ignore: [\"only-browser.js\"],\n});\n```\n","readmeFilename":"README.md"}