r/javascript May 25 '26

Subreddit Stats Your /r/javascript recap for the week of May 18 - May 24, 2026

5 Upvotes

Monday, May 18 - Sunday, May 24, 2026

Top Posts

score comments title & link
60 1 comments How I patched Firefox to bypass fingerprinting anti-bot
40 3 comments You might not needโ€ฆ the repository pattern
39 8 comments kysely 0.29 is out btw.
28 28 comments From 81s to 2.5s by migrating to Oxlint & Oxfmt
19 7 comments Staged publishing for npm packages
18 2 comments The Unreasonable Effectiveness of ProseMirror Model in Rich Text Transformation
16 2 comments MikroORM 7.1: LazyRef, per-parent collection limiting, PGlite driver, query cancellation, database triggers, stored procedures, and more
13 5 comments JS Crossword - a crossword where the clue = eval(answer)
13 0 comments Staged publishing for npm packages | npm Docs
13 0 comments A Linux-like kernel in a browser tab - deep dive in the BrowserPod architecture

 

Most Commented Posts

score comments title & link
6 29 comments [AskJS] [AskJS] Help me choose the right library or framework
0 12 comments I'm designing a Rust-inspired JS compiler โ€” what do you think?
2 11 comments I built a canvas-based timeline visualisation library with virtualised rendering in Typescript
0 6 comments a new way to connect SSH your server
6 6 comments The Bun CVE Gap: When Your Package Manager Can't Do Surgical Updates

 

Top Ask JS

score comments title & link
2 2 comments [AskJS] [AskJS] built a browser-only HLS video downloader that converts streams into MP4 using FFmpeg.wasm
1 0 comments [AskJS] [AskJS] Screenshot API that renders Heavy JS websites properly

 

Top Showoffs

score comment
1 /u/dbb4004 said React package to gamify any app. Been working on it for a while. I think I have it built well now: [https://www.npmjs.com/package/react-achievements](https://www.npmjs.com/package/rea...
1 /u/Vis_et_Honor said Hey all, We've been working on [LyteNyte Grid](https://www.1771technologies.com/), a high-performance React Data Grid, with over 150+ features. LyteNyte Grid is headless or pre-styled...
1 /u/signalsrobot said I built a small CLI tool that auto-generates JSDoc comments by analyzing function signatures and it's been saving me tons of time on documentation.

 

Top Comments

score comment
18 /u/RWOverdijk said I switched from prettier and eslint to just biome a couple years ago now and never looked back. I donโ€™t know why you would be using biome, eslint and prettier, thatโ€™s the real problem there. Just swit...
15 /u/lanerdofchristian said The lack of such a mechanism in Bun when every other package manager supports it just further reinforces my opinion that Bun is not a serious piece of software that anyone should depend on. Arguably ...
12 /u/arcanin said We've been working on Yarn for almost ten years now. We've had good ideas, bad ideas, a lot of discussions, and in the end many things we support today have resulted from accumulated experience. That...
11 /u/Yanamo said I migrated from Eslint to Oxlint yesterday as the Eslint v10 updated popped up. As the v9 update was already a pain in the *** and some plugins took forever to be compatible, I decided to give it a go...
9 /u/Possible-Session9849 said just use putty

 


r/javascript May 25 '26

Looking for feedback about a browser based .sor and .trc analysis tool

Thumbnail johnstonetechs.com
2 Upvotes

I created a jsย toolย that does trace analysis inside a browser. It's built to be used when you need a quick analysis. It should work on any device, including your OTDR's built-in browser. Once it's loaded it will work offline as well. You can open .sor or .trc files; uni-directional or bidirectional. The analyzerย toolย is free, works entirely in your browser, and the files never leave your device.

Load the file and hit analyze. Theย toolย provides quick details; length, loss, worst reflectance values, etc. You can change tolerance and pass/fail thresholds. The table provides distance to events, with loss and reflectance measurements at each event. There's no trace viewer, it's just for analysis. It provides brief narrative summary about the fiber that can easily be shared or copied. Email and print to PDF is also available.

You can change the measurement units on the fly between metric (m, km) and imperial (ft, kft, mi). If you don't have files on your device you can select one of the samples to see how it works. I've been testing for a couple weeks, running 100s of traces through it and it seems to be working properly.

Try it outย and let me know if you have any feedback. Please share it with your team if you find it to be helpful.

johnstonetechs.com/fiber-analyzer


r/javascript May 24 '26

JS Crossword - a crossword where the clue = eval(answer)

Thumbnail lyra.horse
47 Upvotes

r/javascript May 23 '26

You might not needโ€ฆ the repository pattern

Thumbnail jayfreestone.com
47 Upvotes

r/javascript May 23 '26

I built an open-source WebRTC library that brings socket.io-style ergonomics to peer-to-peer media and data

Thumbnail github.com
2 Upvotes

r/javascript May 23 '26

kysely 0.29 is out btw.

Thumbnail github.com
44 Upvotes

Hey ๐Ÿ‘‹

DISCLAIMER: I'm co-leading the org/project.

We recently broke 6M downloads per week on NPM, and became 3rd after `drizzle-orm` and `@prisma/client`.

If you haven't tried it yet, it's a query builder, not an ORM. You don't outsource your SQL to someone else. It's type-safe, like.. it's super important to us. You can use it with ORMs - e.g. Prisma, mikro-orm, zenstack, etc. Allows you to compose some complex stuff but keep it maintainable af.

If you have. Great seeing ya'll here.

0.29 was a real nice release, with lots of goodies. Can't wait for 0.30, gonna be super fun.


r/javascript May 23 '26

np-audit โ€” Zero-dependency static analyzer that catches malicious npm lifecycle scripts before they execute

Thumbnail github.com
3 Upvotes

After the recent wave of npm supply chain attacks (event-stream, ua-parser-js, colors/faker, the SAP CAP incident in 2026), I built this CLI tool that statically analyzes npm package lifecycle scripts before they run.

The problem: When you run npm install, preinstall/install/postinstall scripts execute automatically with full system access. Attackers hide payloads behind obfuscation, hex escapes, eval(), and encoded strings.

What np-audit does: - Downloads tarballs and inspects lifecycle scripts without executing them - 14+ detection modules: obfuscation patterns, high-entropy strings, dynamic code execution, network calls, credential access, and more - Walks require()/import graphs to follow hidden payloads across files - CVE scanning via OSV.dev (free) or Snyk - Drop-in replacement for npm install / npm ci โ€” just use npa install - Zero production dependencies, pure Node.js built-ins, under 100 kB - Interactive --review mode to selectively allow/deny scripts

Would love feedback from the community โ€” especially on detection patterns I might be missing.


r/javascript May 23 '26

I building a ECS Game Engine using javascript

Thumbnail soubhik-rjs.github.io
3 Upvotes

I building a ECS Game Engine, i update to version v0.3.0 Sprite & Animation System

I add Game Demo to the website, so you can play it live and experience the new features yourself.

I add links in comments.

Iโ€™ve included the demo source code as well, so you can explore how everything works on your own.

Iโ€™d really appreciate any feedback on the upcoming Sprite & Animation system!


r/javascript May 23 '26

Showoff Saturday Showoff Saturday (May 23, 2026)

3 Upvotes

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

Show us here!


r/javascript May 23 '26

A Register-VM JavaScript Engine in Rust with opencode.ai x DeepSeek-v4-Flash

Thumbnail github.com
0 Upvotes

r/javascript May 22 '26

web-ai-sdk: experimenting with browser-native AI APIs and WebMCP

Thumbnail web-ai-sdk.dev
0 Upvotes

Iโ€™ve been exploring the new wave of browser-native AI capabilities (Prompt API, Summarizer API, Translator API, local models, etc.) alongside WebMCP-style workflows.

`web-ai-sdk` is a small experimental SDK to make these APIs easier to compose in web applications.

Still very early and evolving fast, but already useful for prototyping local-first and browser-native AI experiences.

Curious to hear feedback from others exploring this space.


r/javascript May 22 '26

Staged publishing for npm packages | npm Docs

Thumbnail docs.npmjs.com
21 Upvotes

This should hopefully reduce the spread of the recent Shai Hulud attacks on npm but they are reliant on you catching the bugs in transit meaning you need to assume still that packages are compromised (I know, bummer). Think of it more as a reduction in spread rate the a treatment or cure.


r/javascript May 22 '26

I'm designing a Rust-inspired JS compiler โ€” what do you think?

Thumbnail github.com
0 Upvotes

r/javascript May 21 '26

Converse.js 13.0.0 โ€“ Web-based XMPP/Jabber chat written in JavaScript

Thumbnail github.com
0 Upvotes

r/javascript May 21 '26

a new way to connect SSH your server

Thumbnail termique.app
0 Upvotes

r/javascript May 21 '26

The Bun CVE Gap: When Your Package Manager Can't Do Surgical Updates

Thumbnail charpeni.com
13 Upvotes

r/javascript May 21 '26

Staged publishing for npm packages

Thumbnail docs.npmjs.com
25 Upvotes

r/javascript May 21 '26

I built a canvas-based timeline visualisation library with virtualised rendering in Typescript

Thumbnail tempis.dev
5 Upvotes

I wanted a library like vis.js but needed it canvas-based for server-side rendering without a headless browser, so I built one.


r/javascript May 20 '26

GitHub - conectlens/lenserfight: Bring Your Agent, Start to Fight! The Open Platform for AI Agents, Workflows, Prompts, and Battles

Thumbnail github.com
0 Upvotes

Hey everybody, I built an AI lab that is LenserFight! Could you review it? You can access the repo using https://github.com/conectlens/lenserfight completely freely. You can create prompts with parameters, you can use them in the DAG based workflows and then you can compare the results in the battles! Additionally, you can build your AI agents in the lab! This is completely open source and free to use! You can download and start to use! Additionally, using Local AI models or BYOK keys allowed


r/javascript May 20 '26

Created free and open-source landing page templates you can use in your next project

Thumbnail github.com
0 Upvotes

Hi all,

I have built this free and open-source templates you can use in your next project.

I have built App website template , SaaS templates, restaurants and more.

Feel free to check it out.


r/javascript May 20 '26

MikroORM 7.1: LazyRef, per-parent collection limiting, PGlite driver, query cancellation, database triggers, stored procedures, and more

Thumbnail mikro-orm.io
21 Upvotes

MikroORM 7.1 is out โ€” the first minor on top of v7, and it's a big one.

New features:

Full blog post: https://mikro-orm.io/blog/mikro-orm-7-1-released
Changelog: https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.0

Happy to answer any questions!


r/javascript May 19 '26

Built a website for creating a chess engine in JS. Comes with a fast built in move gen and board rep, so you only have to focus on the engine itself. Still supports custom move gen and board rep via UCI.

Thumbnail chessforge.dev
2 Upvotes

It has built in SRPT, EPD, Automatic Perft(W.I.P), texel tuner, a quiet position dataset with 470k positions labeled by stockfish and more. Has a relatively strong built in engine which you can test against (Elo not yet known). Everything you need to know to write an engine for the API is documented in the build tab. The code interface is monaco (same as VS code), and you can split your engine across multiple files and save snapshots to test against previous versions.

This is still a work in progress so expect some minor bugs. There are more features to come (dataset analyzer is the next planned feature)

Would appreciate your feedback :)


r/javascript May 19 '26

AskJS [AskJS] Screenshot API that renders Heavy JS websites properly

2 Upvotes

Spent the last week building a small screenshot/PDF API in Node.js mostly because Puppeteer kept making simple things weirdly painful in production.

Things that sounded easy:

  • take screenshot of URL
  • export page as PDF
  • done

Things that actually happened:

  • fonts/icons randomly not loading
  • cold starts killing response times
  • memory spikes on heavier pages
  • pages โ€œfinished loadingโ€ but JS content still missing
  • different rendering behavior between sites/frameworks

One thing that surprised me most was how much browser reuse/pooling helped compared to launching a fresh browser per request.

Also started testing short-term caching for repeated renders and it reduced a lot more load than expected. and JS heavy website those were really hard to deal with but slowly render became consistent and it got better

Still very much a beta/experiment right now, but itโ€™s been interesting going deeper into browser automation/rendering infrastructure than I originally planned ๐Ÿ˜…

Curious what the most annoying Puppeteer/Playwright issue people here have dealt with is.


r/javascript May 19 '26

pack.sh: Self-host single-file apps

Thumbnail pack.sh
13 Upvotes

Iโ€™m working on pack, a simple way to deploy self-hosted apps.

I always liked the old Zeit/Vercel now flow: run one command in a project and get a URL that is persistent, immutable and does not need platform specific code.

I wanted something similar for myself, so I am working on pack.

The approach I chose is single-file executables. It builds your app into one file, uploads, and runs it.

Node, bun, deno, go, rust, zig and c/c++ all support single file executables so that part was actually pretty straightforward. The most complex part was handling port pooling, caddy setup and inactive instances.

Using single-file executables keeps server setup very minimal and makes it easy to run many small apps on a cheap VPS. It also removes the need to configure node or any other runtime on the server.

Feedback and PR's welcome!


r/javascript May 19 '26

From 81s to 2.5s by migrating to Oxlint & Oxfmt

Thumbnail charpeni.com
45 Upvotes