BelugaCDN vs esm.sh
BelugaCDN
belugacdn.comesm.sh
esm.shSide by side
| Figure | BelugaCDN | esm.sh |
|---|---|---|
| Price from | $0.01/mo | Free |
| Free plan | — | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | Yes |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 3 | 1 |
| Spec score · CDN Software | 8.4 (#6) | 7.9 (#18) |
| Spec score · CDN services | 8.1 (#12) | 7.7 (#22) |
| Edge locations | 28 | 330 |
Plans
In their own words
esm.sh
esm.sh is an open-source service for importing JavaScript modules through HTTP URLs, so developers can use packages in browser apps or Deno without build tools. It serves packages from npm, JSR, GitHub and pkg.pr.new, and can transform TypeScript, TSX, Vue and Svelte files for direct imports. Modules are bundled by default; URL options let developers alter bundling, request raw content, set dependency versions or aliases, and select exports. Export selection does not work with CommonJS modules. The service supports CSS imports when a package imports CSS directly from JavaScript, and it can load modules as web workers. Build targets include es2015 through es2024, esnext, Deno, denonext and Node. A lightweight TSX script can compile and cache TSX written directly in HTML. The FAQ describes compatibility with modern browsers that support ES6 modules, including Deno. The public CDN does not support private npm packages; the project directs those users to self-hosting and provides a Docker image and deployment instructions. The project is MIT-licensed, with bug reports directed to GitHub issues.