esbuild
A fast bundler and minifier for JavaScript, TypeScript, JSX and CSS with CLI, JavaScript and Go APIs.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get esbuild
Package managers
- Homebrew
brew install esbuild
About esbuild
esbuild bundles and minifies web code much faster than older tools such as webpack, Rollup and Parcel, without needing a cache. JavaScript, TypeScript, JSX and CSS are handled out of the box, including ESM and CommonJS modules and CSS modules.
It supports tree shaking, source maps, a local development server, watch mode and plugins, and can be driven from the command line or through JavaScript and Go APIs.
Strengths
- Very fast builds without a cache
- TypeScript, JSX and CSS supported without plugins
- Tree shaking, minification and source maps
- CLI, JavaScript and Go APIs
Limitations
- Plugin ecosystem is smaller than webpack's
- Does not type-check TypeScript
Details
- Pricing
- FreeFree and open source.
- License
- MIT
- Developer
- Evan Wallace
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Web developers who want fast bundling and minification
- Categories
- Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to esbuild
Compare allSoftware that can replace esbuild for an important use case, and what changes if you switch.
Vite
A frontend build tool and development server with instant start and hot module replacement.
Vite adds a dev server with hot module replacement, server-side rendering support and a Rollup-compatible plugin system, but is installed per project rather than as a standalone binary.
webpack
A module bundler that packages JavaScript, CSS, HTML, WebAssembly and assets into optimized output.
webpack has a much larger loader and plugin ecosystem and many target platforms, but configuration grows complex and builds are slower than esbuild.
Parcel
A zero-configuration build tool and bundler for web applications and libraries.
Parcel bundles web apps with zero configuration, a built-in development server and automatic plugin installs, but gives less control than esbuild's APIs.
Bun
A JavaScript runtime, bundler, test runner and package manager in one executable, built as a faster drop-in for Node.js.
Bun includes a bundler inside a runtime, test runner and package manager, so switching also replaces Node rather than just the build step.
Deno
A JavaScript and TypeScript runtime with security on by default, TypeScript built in, and a complete toolchain in one binary.
Deno bundles a bundler with a TypeScript runtime, formatter, linter and test runner in one binary, with permissions denied by default.
Similar software
Related functionality, not necessarily a direct replacement.
TypeScript
A typed superset of JavaScript with a compiler that type-checks code and outputs plain JavaScript.
Biome
A fast formatter and linter for JavaScript, TypeScript, JSON, CSS, HTML and GraphQL in one tool.
Prettier
An opinionated code formatter for JavaScript, TypeScript, CSS, HTML, Markdown and other languages.
ESLint
A pluggable linter that finds and automatically fixes problems in JavaScript and JSX code.
Nx
A monorepo build system with caching and task orchestration for faster local builds and CI.
Node.js
The JavaScript runtime that server-side JavaScript is built on, with the npm ecosystem behind it.