</>PackageGraphPackageGraph

esbuild

npmv0.28.2TypeScript

An extremely fast JavaScript and CSS bundler and minifier.

Adopt with care

esbuild is usable, with caveats. This package runs an install script on your machine, has a single maintainer (bus factor of 1).

  • AAdoption: grade A, Excellent.

    242.4M downloads per week and 42 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 32 days ago. 27 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 144 KB installed.

  • CSupply chain: grade C, Fair — worth a look.

    This package runs an install script on your machine, has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding esbuild to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

144 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=18
Module format
CommonJS only
TypeScript
Types included
Install scripts
Runs on install

Installing this package executes a script defined by its publisher. That is normal for native modules, but it is also how supply-chain attacks run — review it before installing in CI or on a machine with credentials.

Dependencies

Declared by esbuild v0.28.2. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on esbuild.

whatwg-urlnpm

An implementation of the WHATWG URL Standard's URL API and parsing machinery

204.4M/wk3 dependentsMIT
vitenpm

Native-ESM powered web dev build tool

158.6M/wk26 dependentsMIT
undicinpm

An HTTP/1.1 client, written from scratch for Node.js

158.5M/wk15 dependentsMITTS
std-envnpm

Runtime agnostic JS utils

97.9M/wk6 dependentsMITTS
tsxnpm

TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files

61.9M/wk26 dependentsMIT
@sinonjs/commonsnpm

Simple functions shared among the sinon end user libraries

49.8M/wk1 dependentsBSD-3-ClauseTS
jest-confignpm

No description provided.

45M/wk2 dependentsMITTS
@testing-library/user-eventnpm

Fire events the same way the user does

35.3M/wk4 dependentsMITTS
h3npm

Minimal H(TTP) framework built for high performance and portability.

34.2M/wk8 dependentsMITTS
@reduxjs/toolkitnpm

The official, opinionated, batteries-included toolset for efficient Redux development

26.4M/wk2 dependentsMITTS
@parcel/watchernpm

A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.

24.8M/wk2 dependentsMITTS
kyselynpm

Type safe SQL query builder

15.6M/wk1 dependentsMIT
sql-escapernpm

🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).

5M/wk1 dependentsMITTS
sveltenpm

Cybernetically enhanced web apps

4.1M/wk1 dependentsMITTS
tarnpm

tar for node

0/wk5 dependentsBlueOak-1.0.0TS
snappynpm

Fastest Snappy compression library in Node.js

0/wk1 dependentsMITTS
esbuild-registernpm

Transpile JSX, TypeScript and esnext features on the fly with esbuild

0/wk1 dependentsMIT
urlpattern-polyfillnpm

Polyfill for the URLPattern API

0/wk3 dependentsMITTS
@sinonjs/fake-timersnpm

Fake JavaScript timers

0/wk5 dependentsBSD-3-ClauseTS
rou3npm

Lightweight and fast router for JavaScript.

0/wk1 dependentsMITTS
isexenpm

Minimal module to check if a file is executable.

0/wk1 dependentsBlueOak-1.0.0TS
pkce-challengenpm

Generate or verify a Proof Key for Code Exchange (PKCE) challenge pair

0/wk2 dependentsMIT
express-rate-limitnpm

Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.

0/wk2 dependentsMITTS
eventsourcenpm

WhatWG/W3C compliant EventSource client for Node.js and browsers

0/wk3 dependentsMITTS

Relationship graph

Dependencies (left) and dependents (right) of esbuild.

Frequently installed together

Release history

26 releases in the last two years, typically about 21 days apart.

Recent versions of esbuild
VersionPublishedSizeLicense
0.28.2latest1 month ago144 KBMIT
0.28.13 months ago144 KBMIT
0.28.05 months ago143 KBMIT
0.27.75 months ago140 KBMIT
0.27.55 months ago140 KBMIT
0.27.46 months ago140 KBMIT
0.27.37 months ago132 KBMIT
0.27.28 months ago132 KBMIT
0.27.19 months ago132 KBMIT
0.27.010 months ago132 KBMIT
0.26.010 months ago132 KBMIT
0.25.1210 months ago132 KBMIT
0.25.1111 months ago132 KBMIT
0.25.1011 months ago132 KBMIT
0.25.91 year ago132 KBMIT

Overview

esbuild is an npm package that an extremely fast JavaScript and CSS bundler and minifier. It is extremely widely used, with about 242.4M downloads per week and 42 known dependents in the graph. The latest version is 0.28.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need an extremely fast JavaScript and CSS bundler and minifier and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (242.4M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (26 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use esbuild?

esbuild is usable, with caveats. This package runs an install script on your machine, has a single maintainer (bus factor of 1).

How do I install esbuild?

Run `npm install esbuild` to add esbuild to your npm project.

What license is esbuild released under?

esbuild is distributed under the MIT license.

How popular is esbuild?

esbuild has approximately 242,434,971 downloads per week and 42 known dependent packages.

Is esbuild still maintained?

The most recent release of esbuild (v0.28.2) was published 1 month ago.

Does esbuild run install scripts?

Yes. esbuild defines a lifecycle script that executes when the package is installed. Review it before installing in CI or on a machine holding credentials.