Je Xia's Avatar

Je Xia

@jex.me.bsky.social

building @esm.sh ...a man is always a prey to his truths...

206 Followers  |  109 Following  |  46 Posts  |  Joined: 18.11.2023  |  1.7659

Latest posts by jex.me on Bluesky

it's based on monaco-editor-core, should has same performance, since it's using shiki as the highlighter and introduced more features, the total package bundle size is bigger than the monaco-editor package. however it uses lazy loading to reduce loading time (loading editor-core in background)

04.08.2025 01:53 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - esm-dev/modern-monaco: A modern version of Monaco Editor. A modern version of Monaco Editor. Contribute to esm-dev/modern-monaco development by creating an account on GitHub.

Repo: github.com/esm-dev/mode...

02.08.2025 19:03 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Introducing modern-monaco, a modern version of Monaco Editor built by @microsoft.com , which also powsers @vscode.dev and its forks.

- no `MonacoEnvironment` & loader needed
- highlighting using @shiki.style with tons of grammars/themes @antfu.me
- Lazy loading
- Workspace
- SSR
- and more

02.08.2025 19:03 β€” πŸ‘ 15    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0

HUGE!

02.08.2025 18:56 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Anthony Fu Fund Redistribution, May and June 2025 - Anthony Fu Fund Hello everyone! In May and June 2025, we raised the fund of $1,970.34, thanks to our awesome sponsors!...

πŸ’– 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!

01.07.2025 05:15 β€” πŸ‘ 54    πŸ” 11    πŸ’¬ 2    πŸ“Œ 1
Preview
Release v0.6.0 Β· ije/mono-jsx Introduce Router(SPA Mode) πŸ†• in v0.6.0, we introduced the built-in <router> element that allows your app to render components based on the current URL. On client side, it hijacks all click events o...

Release page: github.com/ije/mono-jsx...

02.06.2025 04:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ije/mono-jsx

Demo(Router): mono-jsx-router.val.run (Source: val.town/x/ije/mono-j...)
Demo(Lazy rendering): mono-jsx-lazy.val.run (Source: val.town/x/ije/mono-j...)

02.06.2025 04:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

for @bun.sh users:

02.06.2025 04:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

πŸ†• mono-jsx 0.6.0 is released with builtin router(SPA mode), and lazy rendering.

02.06.2025 04:59 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
ije/mono-jsx

mono-jsx just works on @val.town, no installation, no build, with signals πŸ¦‹

www.val.town/x/ije/mono-j...

27.05.2025 01:44 β€” πŸ‘ 8    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Release v0.5.0 Β· ije/mono-jsx Introduce Signals In v0.5.0, we introdued singals as the reactive primitive. Signals are a way to create reactive variables that can be used to trigger reactivity in your application. function App(...

Changelog: github.com/ije/mono-jsx...

19.05.2025 08:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

mono-jsx 0.5.0 is out with🚦Signals!

19.05.2025 08:47 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

πŸ’– 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...

06.05.2025 15:17 β€” πŸ‘ 41    πŸ” 4    πŸ’¬ 0    πŸ“Œ 2
Preview
Release v0.4.0 Β· ije/mono-jsx mono-jsx now supports async components defined by an async generator function. This is useful for streaming rendering of LLM tokens. // deno serve app.tsx // bun app.tsx async function* Chat(props...

release page: github.com/ije/mono-jsx...

06.05.2025 06:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

And the client runtime js only increased 90 bytes!

06.05.2025 06:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

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.

06.05.2025 06:41 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1

Just added a `Context` API for mono-jsx:

github.com/ije/mono-jsx...

28.04.2025 05:09 β€” πŸ‘ 8    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

and a stanard response object

28.04.2025 04:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

yeah, it's just a valid jsx element

28.04.2025 04:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - ije/mono-jsx: `<html>` as a `Response`. `<html>` as a `Response`. Contribute to ije/mono-jsx development by creating an account on GitHub.

Repo: github.com/ije/mono-jsx

26.04.2025 14:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Works in all JavaScript runtimes, with @pi0.io 's superpower(srvx)

26.04.2025 14:33 β€” πŸ‘ 14    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Post image

Stateful component example:

26.04.2025 14:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

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.

26.04.2025 14:33 β€” πŸ‘ 21    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1

πŸŽ‰

08.04.2025 16:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
ESM>CDN A fast, smart & global CDN for modern(es2015+) web development.

esm.sh was down for about 1 hour caused by DNS resolving via IPV6. Now it's back!

23.03.2025 18:30 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
ESM>CDN A fast, smart & global CDN for modern(es2015+) web development.

did you know:

esm.sh can transform tsx/vue/svelte to JS via
<esm\.sh/https\://example.com/src/app.tsx>

- tsx: esm.sh/https://ije.github.io/esmshx-demo/react/main.tsx
- vue: esm.sh/https://ije.github.io/esmshx-demo/vue/App.vue
- svelte: esm.sh/https://ije.github.io/esmshx-demo/svelte/App.svelte

11.03.2025 04:14 β€” πŸ‘ 8    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Thank you Athony πŸ’–

02.03.2025 08:38 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Anthony Fu Fund Redistribution, January and February 2025 - Anthony Fu Fund Hello everyone! In January and February 2025, we raised the fund of $1,056.37, thanks to our awesome sponsors. We are excited to welcome Vite to join the sponso...

πŸ’– 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!

02.03.2025 06:14 β€” πŸ‘ 57    πŸ” 7    πŸ’¬ 2    πŸ“Œ 1
Preview
Use `deno.json(c)` on `/gh/*` pattern by ije Β· Pull Request #1085 Β· esm-dev/esm.sh use deno.json(c) (if have one) on /gh/* pattern resolve jsr: specifier (close Resolving JSR imports when importing from githubΒ #1084) this allows you to import a WIP package without publishing it ...

esm.sh now uses `deno.json(c)` for module resolving when importing modules from Github, which allows you to import a WIP package without publishing it to @jsr.io

Example: esm.sh/gh/dsherret/dax@6aed9b0
PR: github.com/esm-dev/esm.sh/pull/1085

22.02.2025 12:32 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
import { pipe } from 'https://esm.sh/effect';

with tooltip reading:

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

import { pipe } from 'https://esm.sh/effect'; with tooltip reading: (alias) function pipe<A>(a: A): A (+19 overloads) import pipe

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.

21.01.2025 23:48 β€” πŸ‘ 13    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

@jex.me is following 19 prominent accounts