kimbap.js

raw JSON →
0.0.13 verified Sat Apr 25 auth: no javascript

kimbap.js is a JavaScript bundler (version 0.0.13, experimental) that bundles source files into a single output file. Designed as a minimal alternative to tools like Webpack or Rollup, it supports entry specification, output path configuration, and output filename customization via CLI options. As an early-stage project with no stable release cadence, it currently lacks advanced features like code splitting, plugins, or tree shaking. Its key differentiator is simplicity: a straightforward command-line interface with only four options. Not recommended for production use.

error Cannot find module 'kimbap'
cause kimbap is not installed or installed globally incorrectly.
fix
Run 'npm install kimbap' in your project directory. Use npx to run CLI if not globally installed.
error SyntaxError: Cannot use import statement outside a module
cause Trying to require an ESM package with CommonJS require.
fix
Use import syntax or set { "type": "module" } in package.json.
breaking Package is at version 0.0.13 and may have breaking changes between versions. No stable API.
fix Pin exact version and test thoroughly before upgrading.
deprecated No significant deprecation notices as version is very early.
fix N/A
gotcha CLI options may change; source argument can be used instead of --entry, but behavior is not clearly documented.
fix Use --entry or positional source argument; check output to verify correctness.
npm install kimbap
yarn add kimbap
pnpm add kimbap

This quickstart shows installing kimbap, creating an entry file, and bundling it with the CLI command.

// Install: npm install kimbap
// Create entry file: echo "console.log('Hello from kimbap');" > src/index.js
// Bundle using npx:
npx kimbap --entry src/index.js --output dist/bundle.js
// Output is dist/bundle.js containing the bundled code.