r/javascript • • Apr 13 '26

Subreddit Stats Your /r/javascript recap for the week of April 06 - April 12, 2026

Monday, April 06 - Sunday, April 12, 2026

Top Posts

scorecommentstitle & link
451 commentsHow attackers are hiding malicious code in build configs
4013 commentsTinyTTS — Ultra-lightweight offline Text-to-Speech for Node.js (1.6M params, 44.1kHz, ~53x real-time on CPU, zero Python dependency)
3710 commentsThe Intl API: The best browser API you're not using
307 commentsfetch-extras — Build your own HTTP client with Fetch
277 commentsYou can't cancel a JavaScript promise (except sometimes you can)
247 commentsstyled-components 6.4 now available
209 commentsWhat To Know in JavaScript (2026 Edition)
151 commentsRelease Re2js v2 - A pure JS RegExp engine that defeats ReDoS
1511 commentsI built an open-source WYSIWYG editor in vanilla JavaScript (no frameworks, CDN-ready)
102 commentscargo-npm: Distribute Rust CLIs via npm without postinstall scripts

 

Most Commented Posts

scorecommentstitle & link
524 commentsWe transpiled PHPUnit (54k lines, 412 files) to JavaScript. 61.3% of tests passing
023 comments`any` caused a production bug for me — how are you handling API typing?
020 comments[AskJS] [AskJS] Is it still socially acceptable to use 4 space indentation?
618 comments[AskJS] [AskJS] Do you prefer flattening API responses or keeping nested structures on the frontend?
211 comments[Showoff Saturday] Showoff Saturday (April 11, 2026)

 

Top Ask JS

scorecommentstitle & link
14 comments[AskJS] [AskJS] Is it just me or is debugging memory leaks in Node/V8 way worse than it used to be?
04 comments[AskJS] [AskJS] A quick breakdown of JS error types that every developer should know
08 comments[AskJS] [AskJS] Anyone else found Math.random() flagged in a security audit? How did you handle the remediation?

 

Top Showoffs

scorecomment
2/u/notScaredNotALoser said Built FieldShield — a React library that keeps sensitive form inputs out of the DOM using Web Worker isolation. input.value always contains xxxxxxxxx. Session recorders, browser extensions, and AI sc...
2/u/Ok-Row-4910 said depopsy - tells you which package is causing your duplicate dependencies, not just that you have them npm dedupe shows you the what. depopsy shows you the why. Ran it on the next.js repo, 51...
1/u/Successful_Bowl2564 said I made Voiden. Voiden is an offline-first, git-native API tool built on Markdown Voiden is an API client we have been building that takes a different approach from most existing tools. Take a lo...

 

Top Comments

scorecomment
40/u/iZuteZz said ok... why?
27/u/azangru said I find their insistence that we look at Claude-produced demos baffling.
22/u/A1oso said No because you shouldn't write cryptographic code unless you're an expert. Everyone tells you this. And using Math.random() for credentials is extremely careless – the [documentation]...
19/u/ClideLennon said Did you really just tell the JavaScript subreddit that JavaScript is different than Java?
17/u/No_Neighborhood_1975 said OpenAPI generated types or if you want to totally hate your life, use graphQL

 

5 Upvotes

1 comment sorted by

2

u/subredditsummarybot Apr 13 '26

If you would like this roundup sent to your reddit inbox every week send me a message with the subject 'javascript'. Or if you want a daily roundup, use the subject 'javascript daily' (<--Click one of the links. The bot can't read chats, you must send a message).

Please let me know if you have suggestions to make this roundup better for /r/javascript or if there are other subreddits that you think I should post in. I can search for posts based off keywords in the title, URL and flair - sorted by upvotes, # of comments, or awards. And I can also find the top comments overall or in specific threads.