- Home
- CDN Software
- esm.sh
On the recordRead 10 Oct 202616 facts
esm.sh
Plans and prices
esm.sh public CDN
Free
Pricing not stated on the opened page
Read 10 Oct 2026 · esm.sh
On the record
- Browser features
- esm.sh supports CSS imports and loading modules as web workers; CSS importing only works when the package imports CSS from JavaScript directly.esm.sh · read 10 Oct 2026
- Bundling options
- esm.sh bundles modules by default and offers `?standalone`, `?bundle=false`, and `?raw` options to change bundling or transformation behavior.esm.sh · read 10 Oct 2026
- Compatibility
- The FAQ says esm.sh supports modern browsers that support ES6 modules, including Deno.esm.sh · read 10 Oct 2026
- Dependency controls
- Import URLs can specify dependency versions with `?deps=` and substitute packages with `?alias=`.esm.sh · read 10 Oct 2026
- Edge compute
- noneesm.sh · read 22 Sep 2026
- Edge locations
- 330esm.sh · read 22 Sep 2026
- On-the-fly transforms
- It can transform .ts, .tsx, .vue, and .svelte files for direct browser imports without build steps.esm.sh · read 10 Oct 2026
- Private packages
- The public CDN does not support private npm packages; the FAQ directs users to self-host esm.sh for that use case.esm.sh · read 10 Oct 2026
- Purpose
- esm.sh lets developers import JavaScript modules from HTTP URLs to build modern web apps using npm packages in browsers or Deno without build tools.esm.sh · read 10 Oct 2026
- Runtime targets
- Build targets include es2015 through es2024, esnext, Deno, denonext, and Node.esm.sh · read 10 Oct 2026
- Security and integrity
- The FAQ says an integrity metadata map CLI is in progress and notes that Deno 1.18+ can check hashes using a generated `deno.lock` file.esm.sh · read 10 Oct 2026
- Self-hosting
- The project provides a Docker image and deployment instructions; its hosting guide recommends Linux with systemd, at least four CPU cores, 8GB RAM, and 100GB disk.github.com · read 10 Oct 2026
- Support and license
- The site directs bug reports to GitHub issues and identifies esm.sh as an open source project under the MIT License, maintained by @ije.esm.sh · read 10 Oct 2026
- Supported sources
- The CDN supports packages from npm, JSR, GitHub, and pkg.pr.new.esm.sh · read 10 Oct 2026
- Tree shaking
- The `?exports=` option can select specific module exports, but this feature does not work with CommonJS modules.esm.sh · read 10 Oct 2026
- TSX support
- The lightweight 1KB `esm.sh/tsx` script lets developers write TSX directly in HTML, with source compiled and cached at the edge.esm.sh · read 10 Oct 2026