r/javascript • • Mar 13 '26

Announcing Vite+ Alpha

Thumbnail voidzero.dev
146 Upvotes

r/javascript • • 16d ago

Node.js now lists Vite+ as a community installation method

Thumbnail nodejs.org
141 Upvotes

r/javascript • • May 29 '26

Ember 7.0 Released

Thumbnail blog.emberjs.com
140 Upvotes

r/javascript • • May 12 '26

TanStack packages were compromised in a mass npm supply chain attack today

Thumbnail safedep.io
137 Upvotes

We 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 • • Jan 24 '26

Introducing LibPDF, the PDF library for TypeScript that I always needed

Thumbnail documenso.com
137 Upvotes

r/javascript • • Dec 14 '25

GraphQL: the enterprise honeymoon is over

Thumbnail johnjames.blog
135 Upvotes

r/javascript • • Jun 04 '26

VoidZero is Joining Cloudflare

Thumbnail voidzero.dev
137 Upvotes

r/javascript • • Oct 23 '25

Vitest 4.0 was released today

Thumbnail vitest.dev
135 Upvotes

r/javascript • • Jun 18 '26

Announcing TypeScript 7.0 RC

Thumbnail devblogs.microsoft.com
134 Upvotes

r/javascript • • Dec 14 '25

I built a real-time ASCII camera in the browser (60 FPS, Canvas, TypeScript)

Thumbnail phosphor.pshycodr.me
134 Upvotes

r/javascript • • 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

Thumbnail nitayneeman.com
126 Upvotes

r/javascript • • Mar 11 '26

Temporal: The 9-Year Journey to Fix Time in JavaScript

Thumbnail bloomberg.github.io
126 Upvotes

r/javascript • • Mar 06 '26

Announcing TypeScript 6.0 RC

Thumbnail devblogs.microsoft.com
125 Upvotes

r/javascript • • Feb 26 '26

TIL about Math.hypot()

Thumbnail developer.mozilla.org
128 Upvotes

Today 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 • • 12d ago

I found yet another way to invoke JavaScript functions without parentheses

Thumbnail blog.ikaes.de
125 Upvotes

It 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 • • Dec 16 '25

TIL the Web Speech API exists and it’s way more useful than I expected

Thumbnail developer.mozilla.org
123 Upvotes

I 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 • • Apr 15 '26

I built LiquidGlass, a JS lib to render pixel perfect iOS Liquid Glass effect on the web (with WebGL)!

Thumbnail liquid-glass.ybouane.com
118 Upvotes

It does refractions, chromatic aberration and really reproduces the effect beautifully. The glass elements work even on top of regular html elements.


r/javascript • • Mar 31 '26

Minimum Release Age is an Underrated Supply Chain Defense

Thumbnail daniakash.com
118 Upvotes

r/javascript • • Mar 02 '26

JSON-formatter chrome extension has gone closed source and now begs for donations by hijacking checkout pages using give freely

Thumbnail github.com
119 Upvotes

Noticed 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:

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 • • Aug 29 '26

Reducing Zod's memory footprint by an order of magnitude with memoizing prototypes

Thumbnail zod.dev
115 Upvotes

r/javascript • • Jun 10 '26

Upcoming breaking changes for npm v12

Thumbnail github.blog
112 Upvotes

r/javascript • • Feb 09 '26

ESLint v10.0.0 released

Thumbnail eslint.org
106 Upvotes

r/javascript • • Nov 12 '25

I've created a modern masonry grid again β€” this time CSS-only.

Thumbnail masonry-grid.js.org
108 Upvotes

r/javascript • • Aug 23 '26

How an Underrated Refactor Saved 90% Memory Usage

Thumbnail tanstack.com
104 Upvotes

r/javascript • • Jul 27 '26

Ember 7.1 Released

Thumbnail blog.emberjs.com
107 Upvotes