Zero Bundler, also known as `libpacker` on GitHub, is a command-line interface (CLI) tool designed for bundling npm packages with minimal configuration. It aims to simplify the build process for libraries by leveraging convention over explicit configuration, similar to other 'zero-config' bundlers like Microbundle or Parcel (v1). The tool processes entry files specified in `package.json` and generates output in both CommonJS (`main`) and ES Module (`modules`) formats. The latest available version is 0.0.16, published approximately four years ago. Due to its last update dating back to 2021 and its very low version number, the project appears to be unmaintained or abandoned, which impacts its compatibility with modern JavaScript and Node.js ecosystems, as well as the adoption of newer bundling optimizations.
npm install zero-bundlerVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to configure `package.json` and a simple source file to build a library using the `zero` command.
Consider migrating to actively maintained zero-config bundlers like `bunchee`, `microbundle`, or `Parcel` for better support, modern features, and ongoing compatibility.
Evaluate your project's needs carefully. For TypeScript or more complex web projects, an actively developed bundler will offer superior support and performance. If simple CJS/ESM bundling is all that's required, ensure thorough testing against your target environments.
For new projects, prioritize tools with comprehensive documentation and an active community. For existing projects, consider moving away from `zero-bundler` to mitigate future maintenance risks.
Ensure `zero-bundler` is installed as a development dependency (`yarn add zero-bundler --dev` or `npm install zero-bundler --save-dev`). If running directly, ensure `node_modules/.bin` is in your PATH, or execute via `yarn zero` or `npm run zero` if defined in scripts.
Verify that all imported dependencies are correctly installed and listed in `package.json`. If using advanced module features like path aliases, `zero-bundler` may not support them. Manually ensure all paths are relative or standard npm package names.
No dependency data recorded yet.