esbuild

An extremely fast JavaScript and CSS bundler and minifier written in Go.

Tool
npm
v0.28.2
40,071 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
81 /100 Excellent
Development Activity 68
Maintenance 92
Community 64
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
87 /100 Excellent
Architecture 90
Code Quality 88
Innovation 88
Learning Curve 80

esbuild is a build tool that bundles, transpiles, and minifies JavaScript, TypeScript, JSX, and CSS at speeds 10-100x faster than traditional bundlers. Written in Go and compiled to a native binary, it parallelizes work across CPU cores and avoids the overhead of JavaScript-based toolchains, producing production-ready output without needing a cache.

It ships as a command-line tool, a JavaScript/Go API, and a WebAssembly build, with built-in support for ES modules, CommonJS, tree shaking, source maps, a local dev server, watch mode, and a plugin system. esbuild powers the build layer of many modern frameworks and dev tools, including Vite.

What You Get

  • A single native binary CLI that bundles and minifies JavaScript, TypeScript, JSX, and CSS with no runtime dependencies
  • First-class JavaScript and Go APIs for embedding esbuild into your own build scripts and tools
  • Built-in support for ES modules, CommonJS, tree shaking, source maps, and CSS modules
  • A local development server with live rebuilds and a watch mode for incremental builds
  • A plugin API for customizing resolution and loading of arbitrary file types

Common Use Cases

  • Bundling a web application’s JavaScript and CSS for production deployment
  • Transpiling TypeScript and JSX to browser- or Node-compatible JavaScript
  • Serving as the fast build/transform layer inside larger frameworks and dev servers such as Vite
  • Minifying existing JavaScript and CSS files as a drop-in step in a CI pipeline

Under The Hood

Architecture - esbuild is written in Go and organized as a pipeline of internal packages under internal/: js_lexer/js_parser/js_printer and their CSS counterparts turn source into ASTs, resolver walks the module graph, linker and bundler combine and tree-shake modules, and graph, renamer, and sourcemap handle symbol renaming and source maps. Each stage is designed to run in parallel across CPU cores. The public entry point is pkg/api (exposing Build and Transform), with cmd/esbuild wrapping it as a CLI; a long-lived binary communicates with the JavaScript host over a stdio protocol.

Tech Stack - The core is Go (75% of the codebase) with essentially no third-party dependencies beyond golang.org/x/sys, and it deliberately targets Go 1.13 for broad build compatibility. The npm package (lib/) is TypeScript that compiles to the JavaScript API and spawns or embeds the native binary; a WebAssembly build is also produced. Builds are orchestrated through a large Makefile.

Code Quality - The project is extensively tested: Go unit tests sit beside nearly every internal package (js_parser_test.go, css_parser_test.go, linker/bundler_tests, etc.), and a broad suite of JavaScript end-to-end tests (scripts/end-to-end-tests.js, js-api-tests.js, plugin-tests.js, test262.js) exercises real-world behavior and spec conformance. Code is consistently structured, with clear package boundaries and richly documented public APIs.

API Design - The surface area is small and ergonomic: a handful of CLI flags map directly to the same options in the JavaScript and Go APIs, and the TypeScript type definitions (lib/shared/types.ts) are thoroughly documented with links to the online reference. Getting started requires almost no boilerplate, and the plugin API offers a clean hook-based extension point for custom resolution and loading.

Used by 139 apps in this directory

TypeScript
98%
Apache 2.0

Tianji

Analytics · Monitoring

3,100

Replace Google Analytics, UptimeKuma, and Prometheus with one self-hosted platform that tracks websites, monitors uptime, and reports server health.

View details
86
Repo Health
76
Technical
65
Dependency
Built with
TypeScript 98%
Updated 1 weeks ago
TypeScript
98%
Apache 2.0

TinaCMS

CMS

13,811

An open-source, Git-backed headless CMS that gives editors a live visual editing UI over Markdown, MDX, JSON, and YAML content while developers keep everything in version control.

View details
92
Repo Health
74
Technical
59
Dependency
Built with
TypeScript 98%
Updated 1 weeks ago
TypeScript
73%
AGPL 3.0

Tolaria

Note Taking

19,917

A free, open-source, local-first desktop app for managing markdown knowledge bases on macOS, Windows, and Linux — for second brains, company docs, or AI assistant memory and procedures.

View details
81
Repo Health
71
Technical
68
Dependency
Built with
TypeScript 73%
Rust 13%
JavaScript 12%
Updated 2 weeks ago
JavaScript
57%
AGPL 3.0

ToolJet

AI Agents · Low Code Platforms · No Code Platforms

41,007

Open-source AI-native platform to build and deploy internal tools, workflows, and AI agents with a visual drag-and-drop builder and 80+ data source integrations.

View details
94
Repo Health
81
Technical
63
Dependency
Built with
JavaScript 57%
TypeScript 36%
Updated 1 weeks ago
Python
70%
AGPL 3.0

Tracecat

AI Agents · Automation · Security

3,816

Open-source agentic security automation platform that runs AI agents and durable workflows at scale with sandboxed execution.

View details
89
Repo Health
88
Technical
66
Dependency
Built with
Python 70%
TypeScript 28%
Updated 1 weeks ago
TypeScript
79%
MIT

Trench

Analytics · Data Engineering · Monitoring

1,663

Open-source event tracking infrastructure built on Kafka and ClickHouse that handles thousands of events per second on a single node, with full Segment API compatibility and no cookies.

View details
44
Repo Health
81
Technical
73
Dependency
Built with
TypeScript 79%
MDX 15%
Updated 6 months ago
Rust
71%
MIT

Trieve

AI Development · Developer Tools · Search

2,719

All-in-one self-hostable platform for hybrid search, RAG, recommendations, and analytics built on Rust and Qdrant.

View details
42
Repo Health
74
Technical
64
Dependency
Built with
Rust 71%
Updated 8 months ago
TypeScript
99%
Apache 2.0

Trigger.dev

AI Development · Automation · Developer Tools

16,427

Build and deploy fully-managed AI agents and background jobs in TypeScript — with no timeouts, durable retries, real-time observability, and elastic scaling built in.

View details
89
Repo Health
9
Technical
63
Dependency
Built with
TypeScript 99%
Updated 2 weeks ago
TypeScript
82%
Other

twenty

CRM

57,585

The open-source CRM you build, ship, and version like the rest of your stack — with customizable objects, AI agents, and a TypeScript SDK.

View details
92
Repo Health
82
Technical
64
Dependency
Built with
TypeScript 82%
MDX 15%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers