esm.sh

@esm.sh

A nobuild content delivery network(CDN) for modern web development. https://esm.sh

esm.sh sent over 6.6B(52TB) JavaScript modules to 120M devices in last 30 days. and we are sprinting 4K stars on github, if you like this project please help 🙏💚

BildBild

mono-jsx 0.7.0 is out with ton of new features: 💫 View Transition 🪄 `$value` (two-way binding) 🗝️ Session Storage 📜 Route Form ⚡️ Caching

mono-jsx 0.4.0 has been published to NPM. It now supports async components defined by an async generator function. This is useful for streaming rendering of LLM tokens.

Bild

Introducing mono-jsx, a server-side jsx runtime renders `<html>` to a `Response`. 🚀 No build step needed 🦋 Lightweight(8KB gzipped), zero dependencies 🔫 Minimal state runtime 🚨 Full Web API types ⏳ Streaming rendering 🌎 Works in Node.js, Deno, Bun, Cloudflare Workers, etc.

Bild

I love using @esm.sh for browser importmaps! - Handles npm, jsr and GitHub registries - Checks the User-Agent to serve the right ES version (es2022, etc) – no bloat! - Supports tree-shaking, so you can import just what you need

Managed to get typescript types resolving in a Codemirror editor based on X-Typescript-Types headers from @esm.sh using @val.town's codemirror-ts extension with a bit of help from Claude to glue things together. Gotta love standing on the shoulders of giants.

import { pipe } from 'https://esm.sh/effect';

with tooltip reading:

(alias) function pipe<A>(a: A): A (+19 overloads)
import pipe