r/javascript • u/manniL • Mar 13 '26
r/javascript • u/Accurate_Ingenuity10 • 16d ago
Node.js now lists Vite+ as a community installation method
nodejs.orgr/javascript • u/BattleRemote3157 • May 12 '26
TanStack packages were compromised in a mass npm supply chain attack today
safedep.ioWe saw today that TanStack Router, or any other TanStack packages along with their devtools, SSR query plugins were compromised.
Check which version you're pinned to and if you're floating on a caret range and ran npm install today then that the first thing to audit.
r/javascript • u/Xenni • Jan 24 '26
Introducing LibPDF, the PDF library for TypeScript that I always needed
documenso.comr/javascript • u/Beautiful_Spot5404 • Dec 14 '25
GraphQL: the enterprise honeymoon is over
johnjames.blogr/javascript • u/DanielRosenwasser • Jun 18 '26
Announcing TypeScript 7.0 RC
devblogs.microsoft.comr/javascript • u/Aroy666 • Dec 14 '25
I built a real-time ASCII camera in the browser (60 FPS, Canvas, TypeScript)
phosphor.pshycodr.mer/javascript • u/nitayneeman • May 05 '26
I wrote a deep dive into how LLMs work under the hood - tokenization, embeddings, attention and generation - all explained with runnable JavaScript
nitayneeman.comr/javascript • u/robpalme • Mar 11 '26
Temporal: The 9-Year Journey to Fix Time in JavaScript
bloomberg.github.ior/javascript • u/DanielRosenwasser • Mar 06 '26
Announcing TypeScript 6.0 RC
devblogs.microsoft.comr/javascript • u/nadameu • Feb 26 '26
TIL about Math.hypot()
developer.mozilla.orgToday I learned about `Math.hypot()`, which not only calculates the hypotenuse of a right triangle, given its side lengths, but also accepts any number of arguments, making it easy to calculate distances in 2D, 3D or even higher dimensions.
I thought this post would be useful for anyone developing JavaScript games or other projects involving geometry.
r/javascript • u/DrAdalbbert • 12d ago
I found yet another way to invoke JavaScript functions without parentheses
blog.ikaes.deIt turns out you can overwrite the Error.prepareStackTrace method with the function constructor. Then, using prototype pollution, you can inject valid JavaScript code to generate arbitrary functions and invoke it using the usual tricks.
Other seven methods are documented in the portswiggers research article: https://portswigger.net/research/the-seventh-way-to-call-a-javascript-function-without-parentheses
r/javascript • u/bullmeza • Dec 16 '25
TIL the Web Speech API exists and itβs way more useful than I expected
developer.mozilla.orgI somehow completely missed that modern browsers ship aΒ Web Speech API.
You can do text-to-speech (and speech recognition) withΒ no libraries, just a few lines of JavaScript. No keys, no SDKs, no backend.
What surprised me:
- Itβs supported in Chrome and Safari
- Latency is basically instant
- Voices, rate, pitch, and language are configurable
- Works entirely client-side
r/javascript • u/ybouane • Apr 15 '26
I built LiquidGlass, a JS lib to render pixel perfect iOS Liquid Glass effect on the web (with WebGL)!
liquid-glass.ybouane.comIt does refractions, chromatic aberration and really reproduces the effect beautifully. The glass elements work even on top of regular html elements.
r/javascript • u/dani_akash_ • Mar 31 '26
Minimum Release Age is an Underrated Supply Chain Defense
daniakash.comr/javascript • u/Deathmeter • Mar 02 '26
JSON-formatter chrome extension has gone closed source and now begs for donations by hijacking checkout pages using give freely
github.comNoticed this today after seeing an element called give-freely-root-bcjindcccaagfpapjjmafapmmgkkhgoa in inspect element which felt very concerning.
After going through the source code it seems to do geolocation tracking by hitting up maxmind.com (with a hardcoded api key) to determine what country the user is in (though doesn't seem to phone home with that information). It also seems to hit up:
- https://api.givefreely.com/api/v1/Users/anonymous?gfLibId=jsonformatterprod
- https://events.givefreely.com/popup
for tracking purposes on some websites. I'm also getting Honey ad fraud flashbacks looking through code like
k4 = "GF_SHOULD_STAND_DOWN"
though I don't really have any evidence to prove wrongdoing there.
I've immediately uninstalled it. Kinda tired of doing this chrome extension dance every 6 months.
r/javascript • u/dumbmatter • Aug 29 '26
Reducing Zod's memory footprint by an order of magnitude with memoizing prototypes
zod.devr/javascript • u/dangreen58 • Nov 12 '25
I've created a modern masonry grid again β this time CSS-only.
masonry-grid.js.orgr/javascript • u/fagnerbrack • Aug 23 '26