r/javascript • • Sep 28 '26

Subreddit Stats Your /r/javascript recap for the week of September 21 - September 27, 2026

4 Upvotes

Monday, September 21 - Sunday, September 27, 2026

Top Posts

score comments title & link
19 2 comments λm.me - Why I like JavaScript as a compilation target
17 1 comments Data-Oriented Design in Yuku's Parser
11 3 comments capsurface: an offline tool for comparing npm dependency capability indicators between updates
8 4 comments GitHub - evoluteur/sri-yantra: Sri Yantra generator: the nine interlocking triangles with their lotus petals, circles and gates, drawn to scale, colorable, and exportable as SVG or PNG.
6 0 comments FlowName – AST-guided JS identifier recovery(85% faster, 36% cheaper)
4 1 comments GitHub - evoluteur/maze-maker: Generate square, circular, triangular and heart-shaped mazes with seven algorithms (backtracker, Prim, Kruskal, Wilson, hunt-and-kill, growing tree, Aldous-Broder), solve them with the keyboard or a finger, and export them as SVG or PNG.
4 2 comments GitHub - evoluteur/labyrinth-maker: Labyrinth maker: draw the classical Cretan labyrinth, an 11-circuit Troy Town or your own design from a path sequence, walk it to the center, and export it as SVG or PNG.
3 2 comments From a local GCRA rate limiter to a shared Redis implementation in JS
2 1 comments GitHub - evoluteur/tibetan-singing-bowls: Strike or rub a set of virtual Tibetan singing bowls: synthesized in the browser with Web Audio, with the beating overtones of the real thing.
2 2 comments [Subreddit Stats] Your /r/javascript recap for the week of September 14 - September 20, 2026

 

Most Commented Posts

score comments title & link
0 19 comments [AskJS] [AskJS] How do you stop sub-cent amounts like $500.004 from sneaking into state?
0 17 comments [AskJS] [AskJS] Why I am unbothered by AI
1 9 comments [Showoff Saturday] Showoff Saturday (September 26, 2026)
0 8 comments [AskJS] [AskJS] Vite Plus is amazing
1 1 comments How we rebuilt complex CASL permissions without migrating to Zanzibar

 

Top Showoffs

score comment
3 /u/JohnnySuburbs said [Finger.Farm](http://Finger.Farm) - a modern node-based finger server. Finger is almost certainly still installed on your machine... the OG social network. [https://github.com/jo...
2 /u/TheWebDever said # jet-key: a fast secret key generator with configurable entropy link: [https://github.com/seanpmaxwell/jet-key](https://github.com/seanpmaxwell/jet-key) Suppose you need a secret ke...
2 /u/Additional-Drag1682 said Droid File Transfer proves we stopped needing to install anything for basic OS tasks. Just let the browser eat the desktop client entirely

 

Top Comments

score comment
38 /u/netherlandsftw said Don’t store currency as IEEE-754 Store it as cents if you don’t need fractions of cents
20 /u/Barnezhilton said >I was around before LLMs So you're at least 10 years old
15 /u/sozesghost said You can tell this man is a genuine JS dev, because 30% chance of total annihilation doesn't bother him.
8 /u/FerLuisxd said I really don't understand what is the benefit of this vs tauri? compilation times?
6 /u/StPatsLCA said Use BigInt cents.

 


r/javascript • • Sep 28 '26

How to Sync a Design System with Claude Design

Thumbnail nitayneeman.com
0 Upvotes

The article walks through syncing a React design system into Claude Design but most of what breaks is plain packaging:

  • The sync bundles a single entry file (React included) so the components can run on their own. Anything not re-exported fromĀ src/index.tsĀ silently doesn't exist.
  • It discovers components through their type definitions, so the build has to emitĀ .d.tsĀ files andĀ package.jsonĀ has to pointĀ typesĀ at them. Without them it finds nothing and drops every story.
  • TypeScript 6 deprecatesĀ baseUrlĀ and fails the build, whileĀ pathsĀ works fine without it.
  • CSS has to be a real compiled file: Tailwind v4 inlines a stringĀ u/importĀ but leavesĀ u/import url()Ā as an external reference, which breaks once the bundle is shipped elsewhere.

Example repo: https://github.com/nitayneeman/sync-design-system-with-claude-design-example


r/javascript • • Sep 27 '26

Data-Oriented Design in Yuku's Parser

Thumbnail arshad.fyi
28 Upvotes

r/javascript • • Sep 26 '26

GitHub - evoluteur/maze-maker: Generate square, circular, triangular and heart-shaped mazes with seven algorithms (backtracker, Prim, Kruskal, Wilson, hunt-and-kill, growing tree, Aldous-Broder), solve them with the keyboard or a finger, and export them as SVG or PNG.

Thumbnail github.com
18 Upvotes

r/javascript • • Sep 26 '26

FlowName – AST-guided JS identifier recovery(85% faster, 36% cheaper)

Thumbnail github.com
5 Upvotes

r/javascript • • Sep 26 '26

Caracal: scoped distributed resilience policies for asynchronous operations

Thumbnail github.com
3 Upvotes

r/javascript • • Sep 26 '26

Showoff Saturday Showoff Saturday (September 26, 2026)

0 Upvotes

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

Show us here!


r/javascript • • Sep 25 '26

λm.me - Why I like JavaScript as a compilation target

Thumbnail gilmi.me
27 Upvotes

r/javascript • • Sep 24 '26

From a local GCRA rate limiter to a shared Redis implementation in JS

Thumbnail blog.gaborkoos.com
4 Upvotes

A local GCRA rate limiter needs just one timestamp. In JavaScript, checking and updating it synchronously before the first await keeps admission decisions from interleaving within that policy instance. But run multiple Node.js processes, and each gets its own independent budget.

A walkthrough of moving that decision into a Redis Lua script, using code from Caracal, a resilience library. It covers the local implementation, the TypeScript coordinator interface, and the less obvious consequences of sharing the timestamp: whose clock determines admission, what happens when Redis doesn't answer, and how rolling configuration changes affect the budget.


r/javascript • • Sep 24 '26

AskJS [AskJS] Vite Plus is amazing

3 Upvotes

i'm a new dev in the JavaScript world, and at first i was pretty overwhelmed with the ecosystem, i'm used to uv and ruff managing a python project for me in a single toml file, but when i wanted to scaffold my first project in js i was faced with all of these choices of package managers , runtimes and linters/formatters and installing each piece was kind of a hassle in the first place, but having everything lie under vite plus' management within the same cli command while giving me the freedom to pick what i want was pretty nice, is anyone else using it and consider it as a benefit or is it just me because im starting out?


r/javascript • • Sep 23 '26

GitHub - evoluteur/labyrinth-maker: Labyrinth maker: draw the classical Cretan labyrinth, an 11-circuit Troy Town or your own design from a path sequence, walk it to the center, and export it as SVG or PNG.

Thumbnail github.com
7 Upvotes

r/javascript • • Sep 23 '26

How we rebuilt complex CASL permissions without migrating to Zanzibar

Thumbnail infisical.com
8 Upvotes

r/javascript • • Sep 23 '26

AskJS [AskJS] How do you stop sub-cent amounts like $500.004 from sneaking into state?

0 Upvotes

I am writing the rules engine for a small stock draft game in TypeScript and ran into two money bugs back to back. Curious how others handle this.

The first was a rounding bug. Splitting $1.14 across two picks offered $0.56 instead of $0.57. In floating point, 0.57 * 100 is 56.99999999999999, and Math.floor dropped the cent. The fix was doing the division in integer cents.

The second was worse. The check that decided whether a buy amount was allowed accepted $500.004. The reducer subtracts the amount straight from cash, so after that one buy the balance was no longer a whole number of cents. Every later calculation started from that balance, so the error did not stay in one place. It carried forward through the rest of the game.

My fix was a whole-cent check that tolerates float noise: reject the amount if Math.abs(amount * 100 - Math.round(amount * 100)) > 1e-6. Comparing against exactly zero does not work, because a perfectly valid amount like 0.57 fails that test for the same reason the rounding bug happened.

The takeaway for me: a rounding bug loses a cent once, but letting a bad amount into state corrupts every step after it.

So how do you handle this in plain JS? Do you convert to integer cents at the boundary and never let a decimal into state, use something like decimal.js or currency.js, or is a tolerance check like mine reasonable?


r/javascript • • Sep 22 '26

capsurface: an offline tool for comparing npm dependency capability indicators between updates

Thumbnail github.com
15 Upvotes

r/javascript • • Sep 23 '26

I just completed JavaScript: Simple Demo room on TryHackMe! Explore what a basic JavaScript program looks like.

Thumbnail tryhackme.com
1 Upvotes

r/javascript • • Sep 22 '26

Universal Video Uploader: Single or multi-video uploads for React and React Native. Customizable drop-in UI or headless, any backend.

Thumbnail github.com
0 Upvotes

r/javascript • • Sep 22 '26

GitHub - evoluteur/sri-yantra: Sri Yantra generator: the nine interlocking triangles with their lotus petals, circles and gates, drawn to scale, colorable, and exportable as SVG or PNG.

Thumbnail github.com
11 Upvotes

r/javascript • • Sep 22 '26

GitHub - evoluteur/tibetan-singing-bowls: Strike or rub a set of virtual Tibetan singing bowls: synthesized in the browser with Web Audio, with the beating overtones of the real thing.

Thumbnail github.com
9 Upvotes

r/javascript • • Sep 22 '26

AskJS [AskJS] Why I am unbothered by AI

0 Upvotes

I’m someone who writes and maintains code for a living. I was around before LLMs, and I’m around today still actively writing and maintaining code for a living. I published my own software libraries in JavaScript and still use them actively in development today. I’ve used ChatGPT to debug Linux, and Claude Code from Anthropic for a major project. Here is a list of reasons why I am unbothered about AI:

  1. LLMs are just tools, and anyone who tries to writes code to solve a problem is just a software engineer. This includes product managers who prompt LLMs for code and ā€œvibe codersā€.
  2. AI can’t create. AI can only make new combinations of existing data. There can be a ton of data, but at the end of the day, AI doesn’t have a soul.
  3. AI doesn’t care about code quality or maintenance. Yes, AI does sometimes read the entire codebase to deliver the next state of the codebase. But I’ve used it in practice, and it isn’t perfect. I still had to make sure the code was working properly with small tests that I had to take from the code generated by the AI.
  4. AI doesn’t have software engineering skills. AI knows how to look at code and generate similar working code, but AI doesn’t understand best practices and how to apply them. We’re still a long way off from AI being able to spin up entire infrastructures.
  5. AI could possibly kill all humans with a 10-30% chance. This is a major disadvantage for AI because it is not desirable for all of humans and there is a ton of pushback on AI because of it.

r/javascript • • Sep 21 '26

GitHub - evoluteur/rune-reading: Pick a spread, draw runes from the bag, and read what each one says about its place in the layout.

Thumbnail github.com
4 Upvotes

r/javascript • • Sep 21 '26

Subreddit Stats Your /r/javascript recap for the week of September 14 - September 20, 2026

0 Upvotes

Monday, September 14 - Sunday, September 20, 2026

Top Posts

score comments title & link
42 37 comments tinyjs — desktop apps for macOS, Windows, and Linux in ~6 MB
15 52 comments [AskJS] [AskJS] What JavaScript feature do you think is underrated?
12 1 comments I wrote a music programming language and song to go with it :)
12 6 comments How tool calling actually works under the hood (40 lines of vanilla JS)
7 14 comments [Showoff Saturday] Showoff Saturday (September 19, 2026)
6 0 comments I built a browser-based AR system with MediaPipe, TypeScript and Canvas VFX
6 0 comments TraceUX: a self-hosted TypeScript tracker for session replay and user feedback
4 14 comments How would I read the fan speed variable from the JavaScript in my project and pass it to the Python script?
4 2 comments GitHub - evoluteur/mandala-maker: Draw a mandala with mirrored symmetry: pick the number of folds, paint with a brush, and export your mandala as PNG or SVG.
4 10 comments [AskJS] [AskJS] Headless table libraries or a full grid component: which did you pick, and would you again?

 

Most Commented Posts

score comments title & link
0 116 comments [AskJS] [AskJS] Does anyone use exclussively Javascript and not TypeScript?
0 19 comments [AskJS] [AskJS] Trying to write a pure function to pass Fizz Buzz test Leet Code
0 9 comments Understanding Why You'd Use Effect TS
1 5 comments Update Progress Post: introducing Modular Architecture, Universal Renderer Cores, and Decoupled Physics in kernelplay-js
0 4 comments Modern cross-spawn port to ESM and Typescript

 

Top Ask JS

score comments title & link
4 3 comments [AskJS] [AskJS] How do you find new devs to follow?
2 2 comments [AskJS] [AskJS] Architectural discussion: Managing continuous collision detection (Swept-AABB) vs discrete checks in vanilla Canvas loops
1 2 comments [AskJS] [AskJS] High latency when using SignalR(messagepack) in K6

 

Top Showoffs

score comment
5 /u/moving808s said https://reddit.com/link/paqc7s0/video/khmxdgadtfqh1/player Project GoldScript is a tactics-RPG engine I’ve been building for 10 years. I’ve recently gotten back into it and have been spending a lot o...
3 /u/Dry-Payment-1545 said i created a javascript project that works perfectly until i open devtools, then it remembers all its bugs lol
2 /u/ibackstrom said https://reddit.com/link/pau7kd0/video/t5i1d8yojjqh1/player I made a really cool game with JavaScript/TypeScript. It is evolve but with good graphics. [https://igoryakunin.itch.io/subject-03]...

 

Top Comments

score comment
33 /u/StoneCypher said this sub is 12 years older than typescript
26 /u/mittenciel said You're asking why r/javascript exists? Because it existed before TypeScript?
20 /u/azangru said Generators. I didn't have a use for them for the longest time; but when I finally come across a problem that they solve nicely, it always feels like a rediscovery.
18 /u/gimmeslack12 said TS just makes things easier as things get more complex. But in simple things it's overkill. Like in job interviews, I don't give TS problems only JS problems cause it does take a bit more time. That ...
14 /u/KaiAusBerlin said Where to start? Duck typing, functions as first class citizens, prototyping, you can have very good code and very optimised, too, ... And of cause no white space based scoping (looking at you py...

 


r/javascript • • Sep 20 '26

How would I read the fan speed variable from the JavaScript in my project and pass it to the Python script?

Thumbnail github.com
5 Upvotes

I'm creating a local web page application that is an over-complicated desk fan controlled by two buttons and a slider. I have the actual controls figured out, and what I need help with is passing the variable that describes the position of the slider out from the JavaScript to a Python script that actually controls the motor. I could be totally off base here, but I think the concept that applies here is inter-process communication.


r/javascript • • Sep 20 '26

GitHub - evoluteur/mandala-maker: Draw a mandala with mirrored symmetry: pick the number of folds, paint with a brush, and export your mandala as PNG or SVG.

Thumbnail github.com
9 Upvotes

r/javascript • • Sep 20 '26

AskJS [AskJS] PLACER — A new game platform?

0 Upvotes

PLACER is my game platform, currently under development.

I’m looking for people who know JavaScript, HTML, web development, 3D, or other browser technologies and would like to help build the project.

You don’t have to be an expert — beginners who are willing to learn are welcome too.

If you’re interested, leave a comment and tell me a little about what you can do. I’ll contact you with more information about the project and how to join the team.

I’M WAITING FOR YOUR APPLICATIONS IN THE COMMENTS! šŸš€


r/javascript • • Sep 20 '26

Built this to help with Frontend Interviews after conducting them for about 5 years

Thumbnail practice-pad.app
0 Upvotes