esbuild
A strong pick. 5th of 10 build tools.
esbuild is a very fast bundler, transpiler and minifier for JavaScript, TypeScript and CSS, written in Go. It has no dependencies and its output is mature. It is still a good pick for bundling scripts, servers, serverless functions and simple apps. For a new front-end app, though, Vite 8 is the better default: it has dropped esbuild for Rolldown and Oxc, and it gives you HMR, framework plugins and finer control over chunks.
Best for: Developers who want a fast, dependency-free bundler or transpiler for Node services, serverless functions, CLIs, browser extensions or tool internals, and who don't need HMR.
Scores
Overall7.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For fast, simple bundling of Node, serverless and library code it remains excellent and safe to pick. For a new front-end app, Vite 8 is the better choice: it uses Rolldown and Oxc and adds HMR and framework plugins. A single maintainer, 0.x versioning and Vite's move away from esbuild lower its long-term standing.
- vite.dev/guide/migration: Vite 8 drops esbuild
- decodeapps.pp.ua/blog/post/fastest-js-bundler-2026-rolldown-vs-esbuild-vs-webpack-benchmark: Still the speed leader
- dependents repos: Very wide use
GPT-6.2 Sol: 7.4, likely 6.3 to 8.5
Pick esbuild when fast, scriptable bundling is the main job, especially if the project already runs TypeScript checks separately. Vite is the stronger default for a new front-end app that needs framework integration and hot updates. Current integrations give esbuild staying power, and the recent maintenance gap and reliance on one maintainer make its two-year outlook less certain.
- esbuild.github.io/api: The build and transform APIs cover scripted pipelines, and the built-in server omits JavaScript hot updates.
- vite.dev/blog/announcing-vite8: Vite offers app tooling around Rolldown and a compatible plugin ecosystem.
- angular.dev/tools/cli/build-system-migration: Angular still relies on esbuild in its application build system.
- github pushedAt and latestRelease: Both point to August 2026 in the November snapshot.
- esbuild.github.io/faq: The maintainer documents the project's focused scope and reliance on one main developer.
Needed by many6.6
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most JS/TS projects need bundling or transpiling, but esbuild covers the low-level part of that job: it has no HMR and no framework layer. Few app developers choose it directly. Many backend, library, serverless and tooling projects do.
- vite.dev/guide/migration: Vite 8 no longer uses esbuild directly
- esbuild docs: Has a simple serve/watch mode but no HMR or framework plugins
GPT-6.2 Sol: 7.2, likely 6.2 to 8.2
Bundling and compiling front-end code are common needs, and esbuild also handles Node.js builds across frameworks. Its simple development server and limited TypeScript pipeline narrow the group that can use it as their main build tool. The survey measures past use, so the share that needs a standalone bundler today is harder to estimate.
- 2025.stateofjs.com/en-US/libraries: 53.8% of respondents to the esbuild question reported having used it.
- esbuild.github.io/api: Documents browser and Node.js targets, watch mode, and the development server.
- esbuild.github.io/content-types: Type checking and declaration output sit outside the built-in pipeline.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
In independent benchmarks it is as fast as anything available, and its output is mature and correct. It also has zero dependencies and strong docs. What holds it back: no type checking and no .d.ts output. Code splitting is ESM-only with little chunk control, and there is no HMR. For full apps, Vite with Rolldown does the job better.
- decodeapps.pp.ua/blog/post/fastest-js-bundler-2026-rolldown-vs-esbuild-vs-webpack-benchmark: esbuild fastest at 0.19s, ahead of Rolldown at 0.27s
- bsky.app/profile/robpalmer.bsky.social/post/3lhxtrhtc3s24: Oxc can emit .d.ts files; esbuild cannot
- github.com/evanw/esbuild/releases: Steady flow of bug fixes and new syntax support in 0.27 and 0.28
- npm hasTypes: Ships its own types
GPT-6.2 Sol: 7.9, likely 6.9 to 8.9
Version 0.28.2 is fast on common bundle and minify tasks, and its typed API, examples, and source diagnostics make standard scripts straightforward for developers and coding agents to write. Missing declaration output and JavaScript hot updates leave real gaps for library and app teams. Benchmark rankings vary with workload and platform, and reported edge cases in code generation lower confidence for complex builds.
- fallenangel97.github.io/bundlers-comparison: An independent small JSX benchmark measured esbuild at 0.26 seconds, the fastest tool in that test.
- github.com/rolldown/benchmarks: The November 10,000-component benchmark showed Rolldown ahead on Linux and Windows, with esbuild ahead of Rolldown on macOS.
- esbuild.github.io/api: Documents diagnostics, build examples, ESM-only splitting, and live reload limits.
- esbuild.github.io/content-types: Documents TypeScript compilation without type checking or declaration output.
- npm hasTypes: The npm package ships API types.
- github.com/evanw/esbuild/issues/4533: An open user report describes changed JavaScript behavior after compilation with 0.28.2.
Holds up over time6.0
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
There were 9 releases and 123 commits last year, and security fixes shipped fast. But one maintainer does nearly all the work, nothing has been pushed since August, and after nine years it is still 0.x, with breaking changes in minor releases. Vite 8 has deprecated its esbuild integration, and the ecosystem is moving to Rolldown and Oxc. Many tools still embed esbuild deeply, so it is unlikely to vanish.
- github commitsLastYear / releasesLastYear: 123 commits and 9 releases
- github pushedAt: Last push on 2026-08-09
- scorecard Maintained: 0, which reflects recent inactivity
- vite.dev/guide/migration: Vite's esbuild options are deprecated in favour of Oxc and Rolldown
- github.com/evanw/esbuild/releases: Breaking changes in v0.27.0 and v0.28.0
GPT-6.2 Sol: 5.9, likely 4.5 to 7.3
Nine releases and 123 commits in the past year show recent maintenance, followed by more than three months without a release or a push. The publish history is concentrated around one maintainer, and recent reports show uneven response times. Users reported upgrade friction with older Safari targets, and Vite 8 moved its default pipeline to Rolldown and Oxc. The timing of renewed releases and the number of people who can keep them going are both uncertain.
- github commitsLastYear, releasesLastYear, pushedAt, latestRelease: 123 commits and nine releases, with the latest release and push in August 2026.
- github.com/evanw/esbuild/actions/workflows/publish.yml: Recent releases were triggered by pushes from the same maintainer.
- esbuild.github.io/faq: The FAQ identifies one main developer and allows breaking changes in minor releases.
- github.com/evanw/esbuild/issues/4436: The maintainer replied the same day, and downstream users reported changing targets or pinning versions.
- github.com/evanw/esbuild/issues/4533: A later code generation report remains open without a maintainer reply.
- vite.dev/guide/migration.html: Vite 8 made esbuild optional and deprecated its esbuild fallbacks.
Used widely7.8
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Downloads grew 5.7x in a year, above the 4.1 median, to about 1.67B per 4 weeks. Most of those installs come in through other tools. The 491k dependent repositories, more than Vite's count, show wide use. Now that Vite 8 makes esbuild optional, new direct choices will probably slow down.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 1.67B vs 291M, a 5.7x ratio
- dependents repos: 491,246 repos and 15,949 packages
- github stars: 40k stars
- bluesky posts: 35 posts, fewer than Vite and Rspack
GPT-6.2 Sol: 7.5, likely 6.3 to 8.6
ecosyste.ms indexed about 491,000 dependent repositories and 16,000 dependent packages, evidence of substantial use. Downloads rose 5.73× year over year, ahead of the 4.1× catalog median, while Vite grew 6.78×. Older Vite releases and other tools account for many installs, and Vite 8 removed esbuild from its default pipeline. The share of new projects choosing esbuild directly remains uncertain.
- dependents repos and packages: 491,246 indexed repositories and 15,949 packages, with more indexed repositories than Vite and fewer than Rollup.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 1.67 billion versus 291 million installs, or 5.73× against the 4.1× baseline.
- github stars, bluesky posts, peers: About 40,000 stars and 35 Bluesky posts. Vite had 81 posts and Rolldown had 40.
- vite.dev/guide/migration.html: Vite 8 made esbuild optional, weakening a major source of indirect installs.
Vouched for8.0
Who stands behind it being good?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Major tools have run it in production for years: Vite until v8, Angular CLI, tsx and many serverless toolchains. Survey satisfaction was high in 2024. Independent benchmarks keep confirming its speed. Vite moving away weakens the current endorsement a little.
- infoworld.com/article/3804318/state-of-javascript-highlights-from-the-latest-javascript-developer-survey.html/amp: State of JS 2024: 91% positive, second only to Vite
- redmonk.com/kholterhoff/2025/12/16/javascript-bundler-grand-prix: Independent analysis of the bundler landscape
- Angular CLI application builder: Angular builds on esbuild
GPT-6.2 Sol: 8.5, likely 7.5 to 9.4
Angular CLI, AWS CDK, and Phoenix still use esbuild in supported build workflows. State of JavaScript 2025 reported 88% satisfaction, and an independent benchmark found it especially fast on a small JSX build. These sources cover several distinct uses, while Vite's move away from esbuild leaves less evidence for its role in newer general-purpose front-end toolchains.
- angular.dev/tools/cli/build-system-migration: Angular uses esbuild in its current application build system.
- docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda_nodejs-readme.html: AWS CDK's NodejsFunction uses esbuild for Lambda bundling.
- phoenix.hexdocs.pm/asset_management.html: New Phoenix apps use esbuild to prepare production JavaScript assets.
- 2025.stateofjs.com/en-US/libraries: Independent survey reports 88% satisfaction.
- fallenangel97.github.io/bundlers-comparison: Independent benchmark found strong performance on a small JSX workload.
- vite.dev/blog/announcing-vite8: Vite 8 uses Rolldown as its bundler.
Safe7.1
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero dependencies and an MIT licence. Its two advisories both concern the dev server and were fixed quickly. Install scripts now check the integrity of downloaded binaries. The OpenSSF Scorecard is weak at 3.8, with low marks for code review, security policy and SAST. One person publishes releases, and the platform binaries are downloaded at install time.
- npm dependencies: 0
- advisories: Two advisories, low and moderate, both in the dev server
- scorecard score: 3.8, with Code-Review at 1 and Security-Policy at 0
- github.com/evanw/esbuild/releases: v0.28.x added integrity checks for install-time binary downloads
GPT-6.2 Sol: 7.2, likely 6.0 to 8.3
The MIT license, lack of mandatory npm dependencies, and integrity checks for fallback binary downloads reduce exposure. Both listed npm development server advisories had patches by public disclosure and are fixed in 0.28.2. GitHub Actions uses npm trusted publishing, and recent releases trace back to one maintainer. OpenSSF's 3.8 score keeps the range wide, especially its weak code review and token permission checks.
- npm dependencies and license: Zero mandatory dependencies and an MIT license.
- github.com/evanw/esbuild/releases: Version 0.28.0 added integrity checks for fallback npm binary downloads.
- osv.dev/vulnerability/GHSA-67mh-4wv8-2f99: Moderate development server advisory fixed in 0.25.0.
- osv.dev/vulnerability/GHSA-g7r4-m6w7-qqqr: Low-severity Windows development server advisory fixed in 0.28.1.
- github.com/evanw/esbuild/blob/main/RUNBOOK.md: Documents GitHub Actions as the npm trusted publisher.
- github.com/evanw/esbuild/actions/workflows/publish.yml: Recent successful publish runs were initiated by one maintainer.
- scorecard score and checks: 3.8 overall, with Code-Review at 1 and Token-Permissions and Security-Policy at 0.
Good
- Among the fastest bundlers in independent benchmarks, and the npm package has zero dependencies.
- One binary handles TypeScript, JSX, ESM and CJS bundling, CSS bundling and minification, with a simple CLI, JS API and Go API.
- Mature and stable output after years of heavy use inside Vite, Angular CLI, tsx and many other tools.
- Clear, thorough documentation and a careful changelog that names breaking changes.
Bad
- It has no HMR or framework integration, so building a full web app still needs Vite or a similar layer.
- It does not type-check or emit .d.ts files, and control over code splitting and chunks is limited.
- One person does nearly all the work and it is still 0.x, so breaking changes arrive in minor releases.
- Vite 8 has deprecated its esbuild integration, so the largest host project is moving away from it.
The numbers
- npm downloads, 4 weeks
- 1.7B ×5.7 in a year
- GitHub stars
- 40k
- Commits, 12 months
- 123
- npm version
- 0.28.2 Aug 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 2 of 2 ever
- OpenSSF Scorecard
- 3.8 out of 10, Nov 2026
- Licence
- MIT
Vite and other tools install esbuild, so most downloads are not a direct choice.
Read on 21 November 2026 from GitHub (evanw/esbuild), npm (esbuild), OSV and the OpenSSF Scorecard.