r/javascript • • 2d ago

Showoff Saturday Showoff Saturday (November 28, 2026)

4 Upvotes

Did you find or create something cool this week in javascript?

Show us here!


r/javascript • • 11h ago

Subreddit Stats Your /r/javascript recap for the week of November 23 - November 29, 2026

0 Upvotes

Monday, November 23 - Sunday, November 29, 2026

Top Posts

scorecommentstitle & link
613 commentsThings you can do with a browser in 2027
308 commentsThe V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library
88 commentsIsoloop: event-loop isolation for JavaScript apps (0.1, open source)
65 commentsIntroducing the KernelPlay Web Scene Editor β€” Coming with KernelPlay JS v0.9.0
49 comments[Showoff Saturday] Showoff Saturday (November 28, 2026)
46 comments[AskJS] [AskJS] Good resources for using JS/TS for simple real-time multiplayer games/interfaces, web-based?
46 commentsTemplate engine EJS vs Eta for a new Node.js project with SSR(don't want to use NextJS), which to choose?
30 commentsDiary Dev: Staxis Platform - Funds page and Documentation was improved
20 commentsYour remark/rehype plugins don't run on Astro 7's SΓ€tteri – drop-in ports
23 commentsKernelPlay JS v0.6.0 Released β€” Modular Architecture, Universal Renderer Cores & Decoupled Physics!

Β 

Most Commented Posts

scorecommentstitle & link
015 commentsUnframework - The compiler that speaks seven UI frameworks
011 commentsHot take: Sometimes three boring statements beats one clever expression
010 commentsAgents do NOT do better with types
08 comments[AskJS] [AskJS] Utility functions named like verbs are the worst API design in JS libraries
08 comments[AskJS] [AskJS] I tested concurrent download limits in PostgreSQL. Here's what happened.

Β 

Top Ask JS

scorecommentstitle & link
04 comments[AskJS] [AskJS] Try this new JSON explorer and let me know what else can i make in changes in it

Β 

Top Showoffs

scorecomment
2/u/intensityflow said made a tiny mozLz4 decoder in plain js so people can read Zen and Firefox session files right in the browser, nothing uploaded firefox and zen save sessions as .jsonlz4: an 8 byte magic "mozLz400", ...
1/u/Plastic_Koala2044 said I'm building my own phone OS with JavaScript. A web app running in Chromium as the phone shell, like ChromeOS. I have it running on an old Xiaomi Redmi Note 9 Pro on top of Alpine Linux. The home scr...
1/u/lb0sa said guided-i18n, a VS Code extension that moves a React app's hardcoded text into react-i18next, in steps you review. The JavaScript side was the fun part: - Babel parses each file and walks the AST, dec...

Β 

Top Comments

scorecomment
17/u/somebody-2027 said Blah blah blah. Better and stricter guardrails are always ideal. Period, full stop. Human, agent, I don't care. Dynamic typing already lost the productivity war a long time ago, the rise of typescript...
13/u/bluehavana said Wow, I had no idea about the Web Coffee API. The browser had needed that for a long time.
11/u/aleenaelyn said If your security depends on ordinary JavaScript operators having secret-independent timing, you’re relying on a guarantee the runtime doesn't provide. Node's own security guidance explicitly calls out...
10/u/iareprogrammer said Your formatDateToISO example hardly solves any of these questions though from your original post: > format might respect the system locale, or it might not. It might throw on invalid input, or retur...
10/u/JouleV said In other news water is wet? If you are sending me Fast Inverse Square Root in a PR I'm rejecting it. Unless ultra hardcore optimisation is needed (e.g. trading, running on limited resources)

Β 


r/javascript • • 14h ago

JS Arithmetic Coding Playground to test your prediction models for text compression

Thumbnail theabbie.github.io
0 Upvotes

r/javascript • • 15h ago

Your remark/rehype plugins don't run on Astro 7's SΓ€tteri – drop-in ports

Thumbnail github.com
0 Upvotes

Astro 7 moved to SΓ€tteri, a Rust Markdown engine. It's fast, but it has its own AST, so rehype-katex, rehype-slug, rehype-sanitize etc. stop working.

I ported the 10 most-used ones. Each is tested against the original plugin's output, so it's a swap, not a rewrite: slug, autolink-headings, katex, mathjax, sanitize, breaks, github, mdx-frontmatter, validate-links, citation.

The README also has a table of plugins you can just delete, because SΓ€tteri has them built in (gfm, frontmatter, smartypants, directive…).

Live demo: https://satteri-plugins.js.org Repo: https://github.com/Ashish-CodeJourney/satteri-plugins

Which plugin is blocking your upgrade? I'll port the next most-requested one.


r/javascript • • 1d ago

pictoqr: I made QR codes draw pictures. They still do their one job.

Thumbnail github.com
0 Upvotes

r/javascript • • 1d ago

MatFrame: a drop-in <iframe> replacement that resizes itself, talks with Promises and shows a fallback when blocked

Thumbnail github.com
0 Upvotes

r/javascript • • 1d ago

Unframework - The compiler that speaks seven UI frameworks

Thumbnail unframework.dev
0 Upvotes

r/javascript • • 2d ago

AskJS [AskJS] Good resources for using JS/TS for simple real-time multiplayer games/interfaces, web-based?

8 Upvotes

I have designed a game in real life and thought of creating a very simple online version of it so I can play it with more people at any time. I don't have much experience with JS, just basic webpage functionality, though I have a lot of experience with programming in general.

The game is not very complicated in terms of mechanics, just turn-based in a real-time updating board and I'd probably be looking to something similar to what chess websites implement, if not an identical implementation. I'd just like resources related to designs I could get "inspiration" from and how the web clients would communicate with the server. I do not want to use automated assistance.


r/javascript • • 2d ago

Template engine EJS vs Eta for a new Node.js project with SSR(don't want to use NextJS), which to choose?

Thumbnail npm-compare.com
8 Upvotes

Hi,
I am about to start a new project with SSR (Node.js); previously, I have used ejs/handlebars. Currently, I am not very familiar much eta.

eta claims to be faster than ejs, anyone worked with both?

Highly appreciate your suggestions/comments.

ejs: https://www.npmjs.com/package/ejs
eta: https://www.npmjs.com/package/eta

Thanks


r/javascript • • 3d ago

KernelPlay JS v0.6.0 Released β€” Modular Architecture, Universal Renderer Cores & Decoupled Physics!

Thumbnail github.com
7 Upvotes

I'm excited to announce that KernelPlay JS v0.6.0 is officially released!

This update introduces an important architectural shift toward a more modular engine, focusing on decoupling the Renderer and Physics systems.

Here's what's new:

1. Universal Renderer Architecture

Previously, switching rendering pipelines could require developers to replace generic components such as `BoxRenderer` with pipeline-specific components like `PixiBoxRenderer`.

With the new architecture, universal components can work across all supported rendering pipelines without requiring developers to manually switch rendering components.

This makes changing renderers much easier and keeps game logic independent of the rendering pipeline.

2. Decoupled Physics Engine Core

Physics logic has now been moved into a separate Physics Engine Core.

The default physics engine remains integrated and ready to use, but the new structure makes it possible to plug in custom physics engines.

This gives developers more flexibility over how physics is handled in their projects.

3. Future Physics Plugins

We're also planning to expand the plugin ecosystem.

High-end physics engines such as Matter.js will be available as separate plugins in the future. They won't be bundled into the core engine, helping keep KernelPlay JS lightweight.

4. Official TypeScript Support

This release also introduces official TypeScript support through `.d.ts` declaration files.

Developers can now benefit from type information, better editor support, and autocomplete when working with KernelPlay JS in TypeScript projects.

---

This architectural change is a major step toward making KernelPlay JS more flexible, modular, and lightweight.

There's still a lot planned for the project, and I'd love to hear your thoughts.

What do you think about this new modular architecture? Would you be interested in building custom renderer or physics cores?

Thank you to everyone following and supporting KernelPlay JS!


r/javascript • • 3d ago

LazyPromise: an async primitive that has familiar semantics of a native promise, but supports auto-propagating cancellation, type-safe errors, and dependency injection

Thumbnail lazypromise.com
1 Upvotes

r/javascript • • 3d ago

Remote procedure calls for interactive applications

Thumbnail willybrauner.com
6 Upvotes

r/javascript • • 4d ago

Isoloop: event-loop isolation for JavaScript apps (0.1, open source)

Thumbnail isoloop.dev
18 Upvotes

Isoloop is a toolkit that helps you separate your app's UI from the work behind it, and you install only what you need. Each part, UI or headless, runs on its own worker or in a shared pool. How you split your app is your call.

Why it exists

In most apps, the UI and everything behind it (state, sync, search, data processing) share one main thread, one heap and one event loop. One slow or broken part makes the whole app janky or blank. A plain worker isolates CPU time, but leaves you to wire up how parts share data, and what happens when one fails.

Isoloop helps you separate them and run them together. Each part can get its own loop, a supervisor restarts it when it fails, and parts can share state through the bus. The UI stays responsive, a block or a crash stays in its part, and the work can run where it fits best.

β†’ Kernel: starts, stops and connects the parts

β†’ Workers: each part on its own thread, or sharing one in a pool

β†’ Supervisor: detects what hangs or crashes and restarts it

β†’ Message bus, optional: typed topics, per-part permissions, replay, history that can survive a reload

β†’ Adapters: React, Preact, or plain DOM and headless with no framework

β†’ Vite plugin: builds and wires up the workers

Still experimental: a balancer that moves parts between workers by measured load, devtools, and tools that let AI agents call the actions your app exposes.

It isn't free. The workers, the bus and the kernel cost extra CPU, memory and start-up time. In return, one bad component or one bad record doesn't have to take the whole app with it.

On the roadmap, not shipped yet: moving the work further from the UI, into a WASM component or a native process, with the bus as the model the UI and the work share.

Open source, MIT. Feedback is very welcome.

Source: https://github.com/isoloop/isoloop


r/javascript • • 3d ago

AskJS [AskJS] Utility functions named like verbs are the worst API design in JS libraries

0 Upvotes

I keep running into the same API design pattern in JS and TS libraries, and it quietly causes production bugs:

import { format, parse, validate } from 'some-lib'

format(date)      // "2026-11-27" or "11/27/2026" depending on locale?
parse(input)      // throws? returns null? returns the input unchanged?
validate(email)   // true/false? or throws a ValidationError?

The function names are verbs. They sound obvious. But the contract is anything but obvious.

format might respect the system locale, or it might not. It might throw on invalid input, or return null, or return the input unchanged. parse might be strict, lenient, or silently coerce. validate might return a boolean or throw.

The problem isn't any single library. It's that the ecosystem has converged on verb-named utilities without a shared contract. So every time I switch libraries, I re-learn whether parse throws on garbage input or swallows it.

Compare that to something like Date.prototype.toISOString(). The name is boring, but the behavior is exact. No locale surprises, no silent coercion, no guessing.

I'm starting to think libraries should name these functions after what they actually do, not after the general idea:

formatDateToISO(date)      // exact contract
parseEmailStrict(input)    // throws on invalid
isValidEmail(email)        // boolean, never throws

More verbose, yes. But you can read the call site and know what happens without checking docs.

What's your take? Do you prefer short verb names with documented behavior, or longer names that encode the contract? And have you ever been burned by a parse or validate that behaved differently than you expected?


r/javascript • • 4d ago

VinUI: copy-in UI components for HTML, React, Vue and Svelte, with a CLI and an upstream diff command

Thumbnail github.com
6 Upvotes

r/javascript • • 5d ago

The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library

Thumbnail soatok.blog
41 Upvotes

r/javascript • • 5d ago

WebGL pen and a 6M-parameter model on the CPU, that predicts the next pen movement.

Thumbnail penna.luruke.com
4 Upvotes

r/javascript • • 5d ago

CodeNap - snap real Python, JavaScript and TypeScript code together, piece by piece, like a puzzle (free, no sign-up)

Thumbnail play.codenap.app
4 Upvotes

Hi! I'm the developer. In CodeNap you learn to code by assembling real code from pieces: Python, JavaScript and TypeScript, 600 levels. It runs in the browser, no account needed. Feedback is very welcome, especially on the difficulty.


r/javascript • • 5d ago

A Jupyter-style notebook for JavaScript and TypeScript: server code and browser code in one document, calling each other. Local, with a CLI, an MCP server and a debugger.

Thumbnail github.com
4 Upvotes

The problem: trying an idea in JS means juggling a script, a REPL, a throwaway app and a database client. Python people have Jupyter; I wanted that for JS, with the browser included.

What nimbo does:

  • 🧩 One notebook with server cells (Node) and client cells (browser) that call each other
  • πŸ”Ž Explore and query any output with JSONPath, jq or SQL
  • 🌐 Turn a cell into an API endpoint
  • 🐞 Built-in debugger
  • πŸ€– Works with coding agents through a CLI and an MCP server, with edits you review
  • ⚑ One-line install, runs entirely on your machine

Where it is: version 0.1, open source (Apache-2.0), macOS and Linux. Windows and a

desktop app are on the roadmap.

https://github.com/7sStudio/nimbo


r/javascript • • 6d ago

Introducing the KernelPlay Web Scene Editor β€” Coming with KernelPlay JS v0.9.0

Thumbnail kernelplay-js.vercel.app
5 Upvotes

I've been working on something new alongside the development of KernelPlay JS: a web-based scene editor designed for creating and editing game scenes visually.

The editor is still under development and hasn't been released yet. I'm sharing an early look at it so you can see what I'm building.

Some of the features currently available include:

Parent-Child Hierarchy: Organize game objects using parent and child relationships.

Sprite Support: Add and configure sprites directly in the scene.

Built-in Sprite Editor: Select sprite regions from a spritesheet and configure their display size, pivot, and rendering properties.

Scene Editing: Work with game objects visually through the editor.

Inspector: View and edit object and component properties.

The goal is to make scene creation and game object management easier without having to handle everything directly in code.

One important thing: this editor is a separate project/framework from the KernelPlay JS engine, although it is being developed to work with the KernelPlay ecosystem.

I'm planning to release an early version of the editor alongside the KernelPlay JS v0.9.0 update.

There's still work to do, but I'm excited to share more as development continues.

What do you think of the editor so far? I'd love to hear your feedback and suggestions.


r/javascript • • 7d ago

Things you can do with a browser in 2027

Thumbnail github.com
77 Upvotes

r/javascript • • 6d ago

Agents do NOT do better with types

Thumbnail evilmartians.com
0 Upvotes

r/javascript • • 7d ago

Bypassing iOS Safari’s 60 FPS Limit to Build Web Applications That Feel Native

Thumbnail rida.dev
65 Upvotes

r/javascript • • 7d ago

Diary Dev: Staxis Platform - Funds page and Documentation was improved

Thumbnail staxis.dev
5 Upvotes

Staxis is now online with http series layers! πŸ”₯

We're currently adding many components to the reference manual. Many of the layers are about to be published on the website... we're working hard on it.

We'd like to remind you that donations to the project are already open to support continued development!

Take a look: https://staxis.dev/docs/index.html

Do you like it? Any questions? Feel yourself to text something :)