esm.sh

esm.sh

@esm.sh

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

560 followers1 following52 posts

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 🙏💚

esm.sh reposted

esm.sh reposted

mono-jsx allows you to write css in a JSX element with type safety, and view transition included!

Je Xia@jex.me

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

esm.sh reposted

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

we just banned those malicious packages: e.g. esm.sh/debug@4.4.2

esm.shESM>CDNA fast, smart & global CDN for modern(es2015+) web development.

Notice: one of Eleventy’s dependencies was compromised a few hours ago. `debug@4.4.2` was the compromised version affected (it is now unpublished from npm). More context: socket.dev/blog/npm-aut...

💚

Anthony Fu@antfu.me

💖 This July and August, we have forwarded our Open Collective fund to support @ilyaliao.bsky.social @orbisk.bsky.social @esm.dev @azat.io Projects: @esm.sh @pnpm.io @cyberalien.dev Join us to show appreciation for our dependencies and help them be sustainable! opencollective.com/antfu/update...

Thank you sir 🫡

Anthony Fu@antfu.me

💖 This May and June, we have forwarded our Open Collective fund to support Maintainers: @9romise.bsky.social @productdevbook.com @rzmu.bsky.social @edison1105.bsky.social Projects: @esm.sh @pnpm.io @cyberalien.dev Join us to show appreciation for our dependencies and help them be sustainable!

Thank you Anthony!!!!

Anthony Fu@antfu.me

💖 This April, we have forwarded our Open Collective fund to support maintainers: @goede.dev @zernonia.bsky.social Recurring to projects: @esm.sh @pnpm.io @cyberalien.dev Join us to show appreciation for our dependencies and help them be sustainable! opencollective.com/antfu/update...

esm.sh reposted

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.

esm.sh reposted

Just added a `Context` API for mono-jsx: github.com/ije/mono-jsx...

Je Xia@jex.me

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.

esm.sh reposted

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.

💚

Anthony Fu@antfu.me

💖 In March, we have forwarded our Open Collective fund to support maintainers: @thealexlichter.com @43081j.com Recurring to projects: @esm.sh @pnpm.io @cyberalien.dev Join us to show appreciation to our dependencies and help them be sustainable! opencollective.com/antfu/update...

esm.sh reposted

esm.sh reposted

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

Thank you for your support! 🫡 💚

Anthony Fu@antfu.me

💖 These two months, January and February, we have forwarded our Open Collective fund to support maintainers: @sxzz.dev @johnsoncodehk.bsky.social @brc-dd.dev; Recurring to projects: @esm.sh @pnpm.io @cyberalien.dev Join us to show appreciation to our dependencies and help them be sustainable!

esm.sh reposted

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.

💖

Anthony Fu@antfu.me

💖 For this November, we redistributed our funds to @slev.life, Color.js @lea.verou.me, MSW @kettanaito.com, @esm.sh, @pnpm.bsky.social, Iconify @cyberalien.dev for their amazing work on Open Source! 🙏 Thanks to all the sponsors for making this possible! opencollective.com/antfu/update...

we did it! it WORKS now on the beta branch! e.g.: next.esm.sh/gh/phosphor-...

esm.sh@esm.sh

BIG thanks to @antfu.me's Open Source Fund for the sponsor to esm.sh💚 (With this support esm.sh is going to transpile @vuejs and @sveltejs SFC on NPM or URL) - 💚: https://opencollective.com/esm/contributions/804091 - wip PR: https://github.com/esm-dev/esm.sh/pull/886