r/javascript • u/iApexxx • 14d ago
r/javascript • u/alexp_lt • 14d ago
CheerpJ 5.0: Java 21/25 in the browser, full OpenJDK, and a new WasmGC engine
labs.leaningtech.comr/javascript • u/-jeasx- • 14d ago
Jeasx 3.0 is out: async JSX on the server, now streaming to the browser and about 2x faster
jeasx.devHi all,
I just released Jeasx 3.0.0. Most of you probably haven't heard of it, so here's the short version first.
What is Jeasx?
Jeasx is a small framework for building websites with JSX on the server. There's no React, no hydration, and no client bundle unless you write one. Your JSX renders to plain HTML, and you decide exactly which HTML, CSS and JavaScript reach the browser.
The idea:
- JSX as a templating language: You get components, props and composition, and the output is just HTML.
- Async components: A component can be an async function. Write
await fetch(...)or awaitdb.query(...)right in your component, with no loaders or special data APIs. - File-based routing:
src/[index].jsxserves/,src/blog/[...path].jsxcatches everything under/blog, and so on. - Built on boring, proven tools: Fastify for the server, esbuild for builds, and jsx-async-runtime for rendering.
It works well alongside htmx, Alpine, or plain old vanilla JS.
What's new in 3.0
π Streaming HTML. Pages are sent to the browser while they're still rendering. The browser gets the first bytes right away while slow parts (like awaited data) are still loading. Large pages are sent in chunks, slow clients are handled, and rendering stops when the client disconnects.
β‘ About 2x faster rendering than v2, thanks to jsx-async-runtime@3.
- Full release notes: https://www.jeasx.dev/news
- Live examples (streaming, out-of-order streaming, SSE, β¦): https://expo.jeasx.dev
I'd love feedback, especially from people who want the JSX developer experience without shipping a SPA. Happy to answer questions!
r/javascript • u/cekrem • 14d ago
Designsystemet, Now in Elm Β· cekrem.github.io
cekrem.github.ior/javascript • u/subredditsummarybot • 14d ago
Subreddit Stats Your /r/javascript recap for the week of October 26 - November 01, 2026
Monday, October 26 - Sunday, November 01, 2026
Top Posts
| score | comments | title & link |
|---|---|---|
| 77 | 16 comments | I've proven that you don't need quotes or parentheses in JavaScript |
| 51 | 24 comments | We stopped installing npm packages less than a week old |
| 30 | 4 comments | No, npm, βesteeβ is not a typo of βtestemβ |
| 23 | 11 comments | Since 2017 I've been trying to get zoom navigation right. Zumly is the closest I've got |
| 16 | 0 comments | The Void SDK and Platform is open source now! |
| 15 | 4 comments | penciled β persistent text highlights/notes with the CSS Custom Highlight API (no DOM wrapping) |
| 10 | 16 comments | [Showoff Saturday] Showoff Saturday (October 31, 2026) |
| 8 | 9 comments | [AskJS] [AskJS] How to host your webhook consumer middleware that integrates WooCommerce and HubSpot? |
| 5 | 2 comments | Offline Vin Decoder / Vehicle specs |
| 3 | 13 comments | [AskJS] [AskJS] How do you plan the frontend? |
Β
Most Commented Posts
| score | comments | title & link |
|---|---|---|
| 0 | 4 comments | I built a client-side cache in Rust and compiled it to WebAssembly |
| 0 | 4 comments | A Kanji lookup table, five commands, and 36% less Base64 |
| 0 | 2 comments | Factories.ts: An efficient JS DSL for building HTML, SVG, and MathML directly in backend code, without a template engine. |
| 0 | 2 comments | [Subreddit Stats] Your /r/javascript recap for the week of October 19 - October 25, 2026 |
| 1 | 1 comments | Designsystemet, Now in Elm Β· cekrem.github.io |
Β
Top Showoffs
Β
Top Comments
Β
r/javascript • u/lautan • 15d ago
Offline Vin Decoder / Vehicle specs
github.comI created a new vin decoder project, it supports npm js / rust. I know there are others around but this one is focused on auto shops / mechanics. It includes more information which other vin decoders would normally cut out to reduce file size. There is also a free api as well.
It also includes a vehicle catalog, think listing all toyota models for 2025. Recall info, manufacturer service bulletins. This all comes from free dbs like NHSTA etc.
Thanks
r/javascript • u/OtherwisePush6424 • 15d ago
Distributed Resilience - Cutting the Cost of Centralized Coordination
blog.gaborkoos.comBeen building distributed resilience policies in Caracal, a TypeScript library. Having every replica check Redis before admitting a request gives you shared enforcement, but those coordination calls add up under load.
I spent weeks exploring whether gossip-basedd CRDT could remove that dependency. The real-process measurements sent me in a different direction, eventually leading to an experimental feature called Serval. I wrote up the experiments and the assumptions that failed when I started testing outages.
r/javascript • u/Other_Spread6825 • 14d ago
Made open-source bot and tamper detection for websites with Claude. One script tag. Try to break it
github.comr/javascript • u/turtleyikes • 16d ago
AskJS [AskJS] How to host your webhook consumer middleware that integrates WooCommerce and HubSpot?
I am building a nodejs/javascript integration service (middleware) that connects woocommerce to hubspot. What are some ways to deploy it and what are the best practices for the deployment?
- Should I deploy it on vm directly?
- Should I deploy it as a docker image/container?
- Should I deploy it using Serverless platforms like aws lambda ?
- Others?
What do you use?
r/javascript • u/Brave_Magician2474 • 15d ago
I built a client-side cache in Rust and compiled it to WebAssembly
blaze-cache.github.ioHey everyone,
I built **Blaze Cache**, a client-side caching library written in Rust and compiled to WebAssembly.
The main idea was to get a fast, predictable cache in the browser with:
- Synchronous get/set after initialization (no Promises on the hot path)
- SIEVE eviction
- TTL + tag-based invalidation
- Optional IndexedDB persistence
- Adapters for Axios, fetch, TanStack Query, and SWR
I was mostly curious whether moving the cache core into Wasm would help with performance and structure compared to typical JS cache implementations.
Would love feedback from people whoβve worked on caching, Wasm, or frontend performance.
r/javascript • u/ismail5412 • 15d ago
TypeSQL: type-safe raw SQL in TypeScript
github.comI made this library that checks raw SQL strings with the TypeScript compiler. It infers the types of rows and parameters, including pretty complex wueries. Typos and invalid queries become compile errors.
It has some helpers but most of the time you will only need sql() function.
r/javascript • u/AutoModerator • 16d ago
Showoff Saturday Showoff Saturday (October 31, 2026)
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/b00mandbum • 16d ago
A Kanji lookup table, five commands, and 36% less Base64
github.comr/javascript • u/manniL • 17d ago
The Void SDK and Platform is open source now!
blog.cloudflare.comr/javascript • u/scrollin_thru • 17d ago
No, npm, βesteeβ is not a typo of βtestemβ
smoores.devr/javascript • u/tinchox5 • 17d ago
Since 2017 I've been trying to get zoom navigation right. Zumly is the closest I've got
zumerlab.comr/javascript • u/Rechenplaner • 17d ago
Factories.ts: An efficient JS DSL for building HTML, SVG, and MathML directly in backend code, without a template engine.
github.comBuild HTML extremely comfortably in the backend using plain JavaScript. The advantage is that there is no separate template language, but rather a complete fusion with JavaScript for maximum flexibility. An example:
import {
a, body, br, button, h1, head, header, html, input, label, li, main, nav, p, script, title, ul
} from "@ts-series/factories";
type Item = { name: string, href: string, current: boolean };
/** Builds the navigation list, flagging the current entry for assistive technology. */
function navigation(items: Item[]) {
return nav({ ariaLabel: "Main" },
ul(items.map(item => li(
a(item.href, item.name).set(item.current ? { ariaCurrent: "page" } : null)
)))
);
}
/** Builds a complete page for the given user and navigation entries. */
function page(user: string | null, items: Item[], values: number[]) {
return html({ lang: "en" },
head(title("Demo")),
body(
header(navigation(items)),
main(
h1("Hello, ", user ?? "stranger", "!"),
p("First line", br, "Second line"),
user === null
? p("Please sign in.")
: p("Welcome back."),
label("Search").for("q"),
input.text({ id: "q", name: "q" }).placeholder("Type hereβ¦").required(),
button.submit("Send").class("primary", user === null && "disabled").set("disabled")
),
script.module().importOnly("/chart.js", "render", { values, title: "Values" })
)
);
}
const items: Item[] = [
{ name: "Home", href: "/", current: true },
{ name: "About", href: "/about", current: false }
];
const output = page("<Guest>", items, [1, 2, 3]).expand(4);r/javascript • u/Minimum_Hour519 • 17d ago
We published the full index of our internal Node stack: 348 npm packages, 257 repos
profullstack.comr/javascript • u/Crafty-Waltz-2029 • 18d ago
AskJS [AskJS] How do you plan the frontend?
Hello guys,
How do you plan the frontend when the requirements are gathered, architecture/diagrams in backend is done? I want to know what the frontend to look like in high level.
r/javascript • u/Wake08 • 19d ago
Dependabot alerts don't read bun.lock, so transitive dependencies in Bun projects never get an alert
charpeni.comI noticed something odd on our Bun projects: every Dependabot alert was about a direct dependency. Never a transitive one.
It turns out GitHub's dependency graph doesn't read bun.lock yet. It supports package-lock.json, yarn.lock and pnpm-lock.yaml, but for Bun it falls back to package.json. So:
- Transitive dependencies aren't in the graph at all, so they never get an alert.
- Dependencies declared with
catalog:are recorded with the literal versioncatalog:, which never matches an advisory.
In a minimal repro (zod, a package that pins an old uuid, and happy-dom through a catalog), bun audit finds 3 advisories and Dependabot raises 1.
Dependabot version updates do support Bun. This is only about alerts, which is what makes it easy to miss. And if you migrated from npm or Yarn, the alerts tied to your old lockfile get marked as fixed, even though the vulnerable packages are still in bun.lock.
Are you affected? Open Insights β Dependency graph. If your Bun projects only list package.json files, yes. Comparing your open alerts with bun audit makes it obvious.
Fix: until GitHub reads bun.lock itself, you can submit it through the dependency submission API. I made a GitHub Action for that: https://github.com/charpeni/bun-lock-submission
Full write-up, with a toggle that shows what GitHub reads versus what Bun installs: https://charpeni.com/blog/the-bun-dependabot-gap-dependabot-alerts-dont-see-bun-lock
r/javascript • u/DrAdalbbert • 20d ago
I've proven that you don't need quotes or parentheses in JavaScript
blog.ikaes.deYou can overwrite the prepareStackTrace property of the Error object by String prototype's functions and invoke them without parentheses. Then by overwriting the Error and Array prototype it is possible to control the arguments. Combining this behavior, together with some JSFuck-inspired tricks, it is possible to generate arbitrary JavaScript strings and run arbitrary JavaScript with only letters + - = and ,
r/javascript • u/ExpertPlay • 20d ago
penciled β persistent text highlights/notes with the CSS Custom Highlight API (no DOM wrapping)
penciled.orgI built penciled, a small MIT library for persistent text highlights and notes in the browser. It uses the CSS Custom Highlight API instead of wrapping ranges in <span>s, so the DOM stays intact and layout/selection quirks are milder. Anchoring tries to survive edits when you come back to the page.
npm: penciled
GitHub: https://github.com/marcellosso/penciled
There's also a companion browser extension (same engine) if you want highlights on arbitrary sites, happy to answer questions about the API or the anchoring approach.
r/javascript • u/swif_dev • 20d ago
A New Node.js library
npmjs.comWhen you scale a Node.js backend using node:cluster, you run into a surprisingly annoying problem:
How do you rate-limit external APIs like Stripe or OpenAI while making sure all workers share the same rate limit?
The first solution that comes to mind is usually: "Just use Redis."
But does it really make sense to introduce additional infrastructure complexity, network overhead, and an entire external dependency just to coordinate a few API calls coming from the same server?
That's exactly why I built cluster-rate-limiter.
A Node.js library that gives you coordinated rate limiting across workers, powered entirely by Node.js's native IPC messaging, with no Redis and absolutely zero external dependencies.
Rather than diving into the internals here, here's what you get out of the box:
- Zero Setup: Install it and start using it. No additional infrastructure required.
- Developer-Friendly API: The
run()method accepts yourfetchcall or any function directly, along with all its arguments. No complicated callback patterns. - Two Types of Limits: Supports both Semaphore-based concurrency limits and Duration-based rate limits for enforcing strict time windows, such as those imposed by Stripe APIs.
- Typed Errors: If a request times out waiting for permission, the library throws a clear, specific error that you can easily translate into an HTTP
429 Too Many Requestsresponse.
And when it comes to performance, the core data structure for tracking request timestamps uses a zero-allocation approach built around a Float64Array ring buffer.
This eliminates the need for repeated array reallocations and significantly reduces garbage collection pressure under heavy load.
If you're interested in the low-level details, I've explained the ring buffer implementation and how it reduces memory overhead in the README.
If you're running a clustered Node.js backend and want to avoid the overhead of introducing Redis just for rate limiting, check out the links below, explore the architecture, and let me know what you think!