MCPcopy Index your code
hub / github.com/egoist/esbuild-service

github.com/egoist/esbuild-service @v0.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.4 ↗ · + Follow
18 symbols 53 edges 8 files 3 documented · 17% updated 4y agov0.0.4 · 2021-03-30★ 1072 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

esbuild-service

esbuild as a service.

Install

curl -sf https://gobinaries.com/egoist/esbuild-service | sh

Then esbuild-service command will be available.

How does this work

This service uses esbuild to bundle dependecies, we convert package names to skypack.dev URLs to retrive the content on the fly.

Development

# Start server
air
# the open http://localhost:8080

# Build
make build
# then run `./esbuilds-service`

Docs

Environment variables

  • PORT: Server port, defaults to 8080.

/*pkg

Build an npm package, pkg can be:

  • A bare name like vue
  • Name with version: vue@3.0.0-rc.1
  • Name, version and a file path: preact@10/compact

Query parameters:

  • format: Bundle format, defaults to esm, available values: cjs, iife
  • globalName: Global variable name for iife bundle.

License

MIT © EGOIST

Core symbols most depended-on inside this repo

respError
called by 3
api/build.go
CreateBuildHandler
called by 2
api/build.go
Build
called by 2
builder/builder.go
NewBuilder
called by 2
builder/builder.go
StrToBool
called by 2
util/boolean.go
buildFresh
called by 1
builder/builder.go
GetPkgMatchVersion
called by 1
builder/version.go
ParsePkgName
called by 1
util/pkg.go

Shape

Function 13
Struct 3
Method 2

Languages

Go100%

Modules by API surface

builder/builder.go7 symbols
util/pkg.go3 symbols
api/build.go3 symbols
util/boolean_test.go1 symbols
util/boolean.go1 symbols
main.go1 symbols
logger/log.go1 symbols
builder/version.go1 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page