Registry / devops / ezburn

ezburn

JSON →
library0.10.0jsnpmunverified

An extremely fast JavaScript and CSS bundler and minifier, written in Rust with Node.js bindings. The current stable version is 0.10.0, with frequent releases and active development. Key differentiators: performance-oriented, supports ESM and CommonJS, TypeScript types included, and a minimal configuration API similar to esbuild. Suitable for production builds and integration into build pipelines.

npm install ezburn
INSTALL
IMPORT
SIG · EZBURN
E
ezburn
devopsjavascriptv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

build
import { build } from 'ezburn'
const { build } = require('ezburn')
Package is ESM-only; CommonJS require() will fail. Use dynamic import for CJS.
context
import { context } from 'ezburn'
context is used for multi-build sessions with watch mode.
version
import { version } from 'ezburn'
const ezburn = require('ezburn'); ezburn.version
version is a named export, not a property of default import.

Bundles and minifies an entry point to a single output file.

import { build } from 'ezburn'; try { await build({ entryPoints: ['src/index.js'], outfile: 'dist/out.js', bundle: true, minify: true, platform: 'node', }); console.log('Build succeeded.'); } catch (e) { console.error('Build failed:', e); }
Debug
Known issues
breakingRequires Node.js >= 18; earlier versions not supported.
fix
Upgrade Node.js to version 18 or later.
affects: <0.10.0
gotchaEzburn is ESM-only; using require() will throw an error.
fix
Use import syntax or dynamic import().
affects: >=0.10.0
gotchaThe default export is not available; all exports are named.
fix
Use named imports like import { build } from 'ezburn'.
affects: >=0.10.0
deprecatedThe transform API is deprecated in favor of build.
fix
Migrate to build() API; see migration guide.
affects: >=0.8.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/ezburn/index.js from /path/to/project/index.js not supported.
Package is ESM-only, but using CommonJS require().
fix
Use import() or change package type to module.
TypeError: ezburn is not a function
Using default import with incorrect syntax.
fix
Use named imports: import { build } from 'ezburn'.
Error: No matching build target for platform 'browser'
Invalid platform option value.
fix
Use platform: 'node' or platform: 'neutral'.
Upgrade
Version history
0.10.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
packageezburn
ezburn — npm install ezburn · libregistry