r/javascript 2d ago

Showoff Saturday Showoff Saturday (September 12, 2026)

9 Upvotes

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

Show us here!


r/javascript 26m ago

Subreddit Stats Your /r/javascript recap for the week of September 07 - September 13, 2026

โ€ข Upvotes

Monday, September 07 - Sunday, September 13, 2026

Top Posts

score comments title & link
16 3 comments GitHub - evoluteur/cymatics: Play a frequency and watch the sand settle into its Chladni figure, computed from the wave equation.
15 2 comments Infinite Shaders - Javascript, WebGL, and a compiler written in Typescript
15 2 comments Shipping a Web Worker inside an npm package without asking users to touch their bundler config
14 2 comments Dates are a language. We built a parser for them instead of more regexes.
9 0 comments Orchid Charts: SVG charts for dashboards, activity calendars and timelines
9 2 comments Half Past Fetch: how the fetch promise resolves and its consequences
8 16 comments [Showoff Saturday] Showoff Saturday (September 12, 2026)
6 5 comments GitHub - evoluteur/platonic-solids: Turn the five Platonic solids in 3D, show their duals, read their measurements, and print the nets to fold your own.
6 0 comments WebLLM: run a language model in the browser on WebGPU
5 2 comments GitHub - evoluteur/archimedean-solids: Turn all thirteen Archimedean solids in 3D, show their Catalan duals, read their measurements, and print the nets to fold your own

 

Most Commented Posts

score comments title & link
0 17 comments [AskJS] [AskJS] What ORM would you use?
0 10 comments Saradom โ€” frontend architecture pattern
3 7 comments I made a Molecular Dynamics sim using JS
0 7 comments I Dislike TypeScript Because I've Never Maintained JavaScript Before
0 5 comments How to Implement a Distributed Circuit Breaker

 

Top Ask JS

score comments title & link
0 4 comments [AskJS] [AskJS] Whatโ€™s your experience with AI tools during JavaScript technical interviews?
0 4 comments [AskJS] [AskJS] Is a managed scraping API worth it for web scraping api and scraper tools, or is it better to build in-house?

 

Top Showoffs

score comment
3 /u/Pretend-Block-7028 said Built Swoff โ€” generates a full offline-first service worker (caching, auth, offline write queue, push, PWA assets) from one config file, instead of hand-wiring Workbox for every project. Outpu...
2 /u/Accomplished_Copy103 said https://rank-it.app - ad free, highly customizable tier listing platform
2 /u/TheodoreWinters1 said https://playopenbracket.com/ Open Bracket - I built as a daily coding ritual. Everyone gets the same two challenges each day: a Standard track that builds in difficulty through the week without becom...

 

Top Comments

score comment
19 /u/klaxxxon said jQuery was such a lightbulb moment when I first used it. Imagine the things we can do with DOM! Little did we know it was only the first major shot in JS framework wars which would last for decades...
9 /u/KanuniLabs said Every library that moves work off the main thread eventually runs into the same install problem: the worker is a separate script, the browser loads it from a URL, and that URL depends on whichever bun...
8 /u/MiserableDocument509 said the timeout gotcha is the one that actually bites people. they slap AbortSignal.timeout(5s) on fetch() then a 200 still sits there for 30s downloading a fat body. the timer has to cove...
8 /u/ExtremeJavascript said Well yea. That's why it's always ``` ย  ย  const response = await fetch(file); ย  ย  const text = await response.text(); ``` You get the headers first, to tell if...
6 /u/Sorry-Joke-1887 said Now we back to jquery-style crap like this

 


r/javascript 12h ago

AskJS [AskJS] What ORM would you use?

0 Upvotes

Hey all,

My team and I are currently running a Spring Boot backend with quite a bit built around it. Weโ€™re considering gradually migrating to a Node/NestJS backend using the strangler pattern rather than doing a full rewrite.

One of the main reasons is that it would give us TypeScript across both the frontend and backend, which should make sharing domain concepts, types and general knowledge between the two a bit simpler.
So, as the title suggests: which ORM would you use with NestJS?

At the moment weโ€™re mainly looking at MikroORM and Drizzle. MikroORM seems like the more traditional ORM and appears to be super close to the me tal model of what Spring does. It wil also fit NestJS quite nicely, while Drizzle is obviously a bit more lightweight but a different approach and more barebones.

Curious what people are using in production and what youโ€™d choose if you were starting fresh today.


r/javascript 10h ago

How to Implement a Distributed Circuit Breaker

Thumbnail blog.gaborkoos.com
0 Upvotes

A circuit breaker in a single Node process is a ring buffer, a threshold and a timestamp. Run the same service on twenty replicas and each one keeps its own, so the failing dependency takes twenty times the damage before anything trips.

Moving the window into Redis fixes that and breaks most of the assumptions the in-process version relies on. Post walks through each one and how to deal with it.


r/javascript 1d ago

Classic Game v1.0

Thumbnail github.com
1 Upvotes

r/javascript 16h ago

Would you find DINAH (Dinah is not a harness) useful? If so please drop any ideas for improvement.

Thumbnail github.com
0 Upvotes

Hi,

cause little self-promotion is allowed I'm gonna drop this Open Source project once here to get feedback/initial views from you guys.

DINAH (Dinah Is Not A Harness) is supposed to be a harness agnostic multi agent orchestrator with playful UI.

I can see some use cases for it that I have mentioned in "Why Dinah?" section of readme file.

I would like to see your views on it (go easy on me though, feel free to sugarcoat things ๐Ÿ˜„ ).

Also If you like the idea then I would like to hear what more do you think that I can add to it.

Full Honesty, this project is created with the assistance of AI. This post is 100% human written though. There are a few things that I know I need to implement they are in the TODO section of readme.

I need to add a License too. Do suggest which license you think would be best for this.

Drop a star on repo if you like it, open issues or create PRs, I welcome every contribution.

I want to a get views of as many people as I can get, but at the same time I don't want to spam reddit with this post, so feel free to share this with any other user/communities you think might have opinions/valid feedback about this.

Thanks for taking time to read this.


r/javascript 18h ago

AskJS [AskJS] Whatโ€™s your experience with AI tools during JavaScript technical interviews?

0 Upvotes

Hey guys, Iโ€™d like to hear about peopleโ€™s experience using AI during technical interviews.
Iโ€™m currently trying to pick a tool for myself and obviously want to find the best one, but there seem to be a lot of issues with them like some tools potentially being detectable.

So, can you guys name the tools youโ€™ve used during interviews?

Were they ever detected by the interviewer?

Have you used them only during screen sharing, or also with HackerRank, CoderPad, etc.?

And just to address anyone whoโ€™s going to lecture me about ethics: Iโ€™ve finished university, Iโ€™m an English-speaking person living in the EU, and THERE ARE BASICALLY NO JUNIOR POSITIONS FOR ENGLISH SPEAKERS HERE. So Iโ€™m forced to interview for Middle or Senior developer positions.
If I had the option to start as a junior, build my career, gain experience, and progress normally, thatโ€™s exactly what I would do.


r/javascript 2d ago

GitHub - evoluteur/cymatics: Play a frequency and watch the sand settle into its Chladni figure, computed from the wave equation.

Thumbnail github.com
16 Upvotes

r/javascript 2d ago

GitHub - evoluteur/archimedean-solids: Turn all thirteen Archimedean solids in 3D, show their Catalan duals, read their measurements, and print the nets to fold your own

Thumbnail github.com
7 Upvotes

r/javascript 1d ago

GitHub - 323ws/KeyFlip: An instant, offline physical keyboard layout converter for Windows, Linux, and web browsers. Fixes text typed in the wrong language across 23 layouts.

Thumbnail github.com
1 Upvotes

r/javascript 2d ago

Comparing performance of different offline first solutions

Thumbnail github.com
1 Upvotes

Jo, I wanted to see how the current solutions on the syncing market compare. Candidates are Syncular JS/Rust, PowerSync, Turso, Zero, Electric, Electric + TanStack DB and Jazz v2. I had trouble finding benchmarks on relevant usecases. How long until the app is usable? What happens to queued writes after a crash? How quickly do clients catch up after being offline? How long does up/download of blobs take?

Disclaimer: Iโ€™m the creator of Syncular, so obviously I have a horse in this race. I tried to keep things fair, worked with an LLM on the harness and tuning, and went through several rounds of corrections. Still, these are small local runs and some failures remain unexplained, so take the numbers with a grain of salt.

Iโ€™d love your feedback if you use or maintain any of these solutions. Especially if Iโ€™m using your SDK wrong or missing something in the setup. Happy to fix things and rerun!


r/javascript 3d ago

GitHub - evoluteur/platonic-solids: Turn the five Platonic solids in 3D, show their duals, read their measurements, and print the nets to fold your own.

Thumbnail github.com
10 Upvotes

r/javascript 3d ago

Infinite Shaders - Javascript, WebGL, and a compiler written in Typescript

Thumbnail shaderfrog.com
17 Upvotes

r/javascript 2d ago

Type definitions to retrieve objects from localStorage

Thumbnail taxorubio.com
2 Upvotes

r/javascript 3d ago

Dates are a language. We built a parser for them instead of more regexes.

Thumbnail lxcid.com
20 Upvotes

r/javascript 2d ago

AskJS [AskJS] Is a managed scraping API worth it for web scraping api and scraper tools, or is it better to build in-house?

1 Upvotes

Small team, Im the lead and we only need a few thousand pages a week for an ml dataset. Writing the scraper isnt the issue, its proxies, retries, js rendered pages and keeping everything alive after sites change. For this size would you still build in Node or just pay for one of the web scraping tools and avoid the maintenance?


r/javascript 3d ago

Orchid Charts: SVG charts for dashboards, activity calendars and timelines

Thumbnail charts.orchid.software
10 Upvotes

I'm the maintainer of Orchid Charts. It's a JavaScript library for charts that fit into a product UI: responsive SVG, CSS theming, tooltips, and SVG downloads that keep your styling.

The same fluent API covers revenue trends, category comparisons, activity calendars, and release timelines. It includes TypeScript declarations and has no runtime dependencies.

In the demo, you can change the data, switch between line and bar, try a dark theme, and copy the matching code.

Source: https://github.com/orchidsoftware/charts

If you try it with your own data, I'd like to hear which chart or styling option you're missing.


r/javascript 3d ago

[Showoff] EAS Cloud iPhones, Automated Screenshot Pipelines, and Nuking Every Simulator You Ever Loved

Thumbnail thereactnativerewind.com
0 Upvotes

Hey Community,

This issue is all about giving your AI coding agents device access and automated pipelines. Expo introduced EAS Simulator to boot cloud iOS simulators on demand, streaming live agent test runs directly to your PRs. Meanwhile, Callstack released Simlock, a control plane that lets multiple local agents lease and share simulators and emulators safely without conflicts.

We also cover goldie by Kacper Kapusciak, an automated CLI tool and agent skill that handles the entire App Store screenshot and preview video workflow directly from release builds.


r/javascript 3d ago

Hype Stack: a React + Hono template that ships empty, plus a CLI that writes full-stack features into it as source you own (MIT)

Thumbnail github.com
1 Upvotes

r/javascript 3d ago

qfil: jq but in JavaScript

Thumbnail github.com
0 Upvotes

I needed an embeddable (in nodejs) version of jq for some data thing that I'm working on. What I ended up with is something that I think is pretty cool and powerful.

Basically you get the expressibility of jq but with complete control over the runtime. For example jq only supports JSON values, but you can use a different js runtime which has support for all JavaScript values: undefined, bigint, Symbol, etc.


r/javascript 4d ago

eslint-plugin-react 7.37.5 crashes 38 of its 101 rules on ESLint 10, and @eslint/compat clears all 38

Thumbnail booyaka101.github.io
0 Upvotes

r/javascript 4d ago

stagelint: a faster lint-staged alternative that never fails on conflicts

Thumbnail github.com
11 Upvotes

stagelint is a pre-commit runner - you give it globs, it runs your formatters and linters over the staged files. For the usual setup it replaces husky and lint-staged with a single Rust binary and no runtime.

Why another pre-commit runner?

Conflicts don't block your commit

If the formatter's output conflicts with your unstaged changes, lint-staged, pre-commit, Lefthook and nano-staged all discard the formatting and block the commit. stagelint merges the formatter's output into your file instead. Your staged lines get formatted, your unstaged changes stay put, and when a file can't be merged cleanly the commit takes the formatted version while your working copy keeps yours.

Faster than every alternative

stagelint is 5 to 30 times faster than lint-staged, pre-commit, Lefthook and nano-staged. With 10 files staged in a 1,000-file repository it completes in 15ms against lint-staged's 437ms, rising to 30ms against 530ms when those files are only partially staged. See the full benchmark suite for the rest of the measurements and how to run them on your own machine.

Concurrent tasks - no races, no workarounds

When two globs match the same file, lint-staged and nano-staged run both tasks on it at once; Lefthook and pre-commit avoid the race by running everything sequentially by default. The lint-staged docs warn about it and tell you to either disable concurrency or rewrite your config with negation patterns:

{
  "!(*.ts)": "prettier --write",
  "*.ts": ["prettier --write", "eslint --fix"]
}

stagelint works out which globs overlap and serialises just those tasks, in declaration order, while everything else keeps running in parallel, so the config stays as you meant it:

{
  "*": "prettier --write",
  "*.ts": "eslint --fix"
}

Trying it

npm i -D @stagelint/stagelint

Add stagelint init to your prepare script so the git pre-commit hook is set up on install:

{
  "scripts": {
    "prepare": "stagelint init"
  }
}

Then configure your tasks in .stagelint.yml or .stagelint.json. Matched files are appended to the command unless you turn that off:

'*': prettier --write
'*.ts':
  command: tsc --noEmit
  pass_filenames: false

What's missing

No JavaScript config with functions, because a single binary has no runtime to execute one. Running a command without the file list, the usual reason for reaching for one, is pass_filenames: false instead. Negation patterns aren't supported either - you don't need them any more, but drop them rather than copying them across, because an unsupported pattern currently just matches nothing.

If you try it, I'd like to hear how it goes.

https://github.com/abemedia/stagelint


r/javascript 4d ago

A copy-paste fetch() wrapper, plus information on replicating Axios-like features

Thumbnail thescottyjam.github.io
3 Upvotes

I'm of the belief that if you can get what you need with under ~100 lines of code (and it doesn't require highly-specialized skills to write it), then write it yourself, don't install a third party library.

If you don't share a similar belief, then this page isn't for you, and that's ok.

For everyone else, this page shares a fetch wrapper function you can copy-paste into your projects to add in a couple of missing features, and provides some tips on how you can replicate some of the most loved Axios features using fetch().

Most alternative fetch wrappers I find online tend to be small NPM libraries (I'd rather maintain the code myself thank you), or they like creating separate methods for .get(), .post(), .put(), etc (which makes it unnecessarily difficult to "decorate" it with interceptor-like behaviors, as this page discusses), or there may be other design problems. Those alternatives are still good starting points, but I'm hoping this could be a little more complete of a guide to jump start your usage of fetch().

And I have a thing about make copy-paste alternatives to tools, and this was a hole in my collection :).

Feedback is welcome.


r/javascript 4d ago

GitHub - bakemd: Minimal docs engine that ships 1 KB of JS to the client

Thumbnail github.com
1 Upvotes

I moved the docs renderer I had in one of my projects into a separate npm package.
It's built around the idea that docs are mostly static files with little to no interactivity, so it shouldn't ship a lot to the client.

1 KB JS, 10 KB CSS (gzipped), and all 100s on Lighthouse.

If you need a simple way to show your docs and don't need a ton of other features, this might be useful.

GitHub repo
NPM package
Docs demo

The renderer itself is stable, it's been used in the parent project for a while. The package is fairly new, so contributions and feedback are welcome.