MCPcopy Index your code
hub / github.com/evanw/esbuild

github.com/evanw/esbuild @v0.28.1 sqlite

repository ↗ · DeepWiki ↗ · release v0.28.1 ↗
5,233 symbols 14,917 edges 196 files 445 documented · 9% 281 cross-repo links
README
<img alt="esbuild: An extremely fast JavaScript bundler" src="https://github.com/evanw/esbuild/raw/v0.28.1/images/wordmark-light.svg">

Website | Getting started | Documentation | Plugins | FAQ

Why?

Our current build tools for the web are 10-100x slower than they could be:

<img alt="Bar chart with benchmark results" src="https://github.com/evanw/esbuild/raw/v0.28.1/images/benchmark-light.svg">

The main goal of the esbuild bundler project is to bring about a new era of build tool performance, and create an easy-to-use modern bundler along the way.

Major features:

Check out the getting started instructions if you want to give esbuild a try.

Extension points exported contracts — how you extend this code

E (Interface)
This interface is never called. Its purpose is to encode a variant type in Go's type system. [40 implementers]
internal/js_ast/js_ast.go
R (Interface)
(no doc) [24 implementers]
internal/css_ast/css_ast.go
Renamer (Interface)
(no doc) [3 implementers]
internal/renamer/renamer.go
InputFileRepr (Interface)
(no doc) [3 implementers]
internal/graph/input.go
FS (Interface)
(no doc) [3 implementers]
internal/fs/fs.go
Go (Interface)
(no doc)
lib/npm/browser.ts
StreamIn (Interface)
(no doc)
lib/shared/common.ts
Go (Interface)
(no doc)
lib/deno/wasm.ts

Core symbols most depended-on inside this repo

join
called by 900
internal/fs/filepath.go
assertEq
called by 661
scripts/decorator-tests.js
assertEq
called by 661
scripts/decorator-tests.ts
print
called by 412
internal/js_printer/js_printer.go
Next
called by 376
internal/js_lexer/js_lexer.go
transform
called by 288
lib/shared/common.ts
check
called by 269
scripts/js-api-tests.js
Has
called by 217
internal/js_ast/js_ast.go

Shape

Function 2,997
Method 1,354
Struct 527
TypeAlias 180
Interface 103
Class 66
Enum 3
FuncType 3

Languages

Go76%
TypeScript24%

Modules by API surface

scripts/js-api-tests.js358 symbols
internal/bundler_tests/bundler_default_test.go302 symbols
internal/js_parser/js_parser.go258 symbols
internal/js_ast/js_ast.go243 symbols
internal/css_ast/css_ast.go173 symbols
scripts/decorator-tests.js155 symbols
internal/js_parser/js_parser_test.go151 symbols
scripts/decorator-tests.ts133 symbols
internal/bundler_tests/bundler_dce_test.go121 symbols
internal/linker/linker.go111 symbols
scripts/plugin-tests.js107 symbols
internal/bundler_tests/bundler_packagejson_test.go96 symbols

Dependencies from manifests, versioned

golang.org/x/sysv0.0.0-2022071515140 · 1×
@mdn/browser-compat-data7.3.9 · 1×
@rollup/plugin-terser0.4.4 · 1×
@types/caniuse-lite1.0.1 · 1×
@types/node25.5.0 · 1×
@unicode/unicode-15.1.01.5.2 · 1×
@unicode/unicode-3.0.01.0.6 · 1×
@vue/tsconfig0.1.3 · 1×
aws-jwt-verify3.1.0 · 1×
caniuse-lite1.0.30001784 · 1×
d3-time3.0.0 · 1×
fooworkspace:* · 1×

For agents

$ claude mcp add esbuild \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact