Hacker News with Generative AI: JavaScript

Google begins requiring JavaScript for Google Search (techcrunch.com)
Google says it has begun requiring users to turn on JavaScript, the widely-used programming language to make web pages interactive, in order to use Google Search.
A standards-first web framework (nuejs.org)
Today Nue takes a new, more natural direction: it becomes a standards first web framework.
Google.com search now refusing to search for FF esr 128 without JavaScript (ycombinator.com)
Google.com search now refusing to search for FF esr 128 without JavaScript
Modern JavaScript for Django developers (saaspegasus.com)
JavaScript is the lifeblood of the modern web application. You need it to do anything remotely complex on the web.
Snyk security researcher deploys malicious NPM packages targeting cursor.com (sourcecodered.com)
Every morning I get up and check what malicious packages my detector had found the night before.   It’s like someone checking their fishing nets to see what fish they caught.
What is a DOM node? A peek under the hood (gregros.dev)
What makes an object a DOM node? Is it the prototype or something else?
Gleam v1.7 (gleam.run)
Gleam is a type-safe and scalable language for the Erlang virtual machine and JavaScript runtimes. Today Gleam v1.7.0 has been published, featuring an array of wonderful improvements. Let’s take a look!
A New Chapter for Express.js (expressjs.com)
As we step into the new year, it’s almost impossible to ignore the unmistakable energy coursing through the Express.js community. The past twelve months have proven both foundational and forward-looking: an era of governance overhauls, technical triumphs, and security enhancements that not only shaped 2024 but also laid the groundwork for what promises to be a transformative 2025.
Node.js enables TypeScript handling by default (nodejs.org)
This release enables the flag --experimental-strip-types by default. Node.js will be able to execute TypeScript files without additional configuration:
Oracle Will Not Voluntarily Withdraw JavaScript Trademark (twitter.com)
Koa – Next generation web framework for Node.js (koajs.com)
Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.
The Future of Htmx (htmx.org)
htmx began life as intercooler.js, a library built around jQuery that added behavior based on HTML attributes.
Show HN: LogLayer – Unified logger that routes logs to various logging libraries (loglayer.dev)
Gleam v1.7 (gleam.run)
Gleam is a type-safe and scalable language for the Erlang virtual machine and JavaScript runtimes. Today Gleam v1.7.0 has been published, featuring an array of wonderful improvements. Let’s take a look!
Breaking Up with Long Tasks or: how I learned to group loops and wield the yield (perfplanet.com)
Arrays are in every web developer’s toolbox, and there are a dozen ways to iterate over them. Choose wrong, though, and all of that processing time will happen synchronously in one long, blocking task. The thing is, the most natural ways are the wrong ways. A simple for..of loop that processes each array item is synchronous by default, while Array methods like forEach and map can ONLY run synchronously.
Swc4j: SWC for Java (github.com/caoccao)
swc4j (SWC for Java) is an ultra-fast JavaScript and TypeScript compilation and bundling tool on JVM.
Minimal Vanilla JavaScript Framework (belaprodev.github.io)
Show HN: Made a small JavaScript benchmarking app – BenchJS (benchjs.com)
Libsearch: Simple index-free full-text search for JavaScript (github.com/thesephist)
Simple, index-free text search for JavaScript, used across my personal projects like YC Vibe Check, linus.zone/entr, and my personal productivity software. Read the annotated source to understand how it works under the hood.
Show HN: Caravan, a flexible, transport-based logging system for TypeScript apps (github.com/carlos-menezes)
A flexible, transport-based logging system for JavaScript/TypeScript applications.
Compiling Full-Featured JavaScript to WASM (twitter.com)
JavaScript Benchmarking Is a Mess (byteofdev.com)
I hate benchmarking code, just like any human (which, at this point, most viewers of this probably aren’t ¯\_(ツ)_/¯). It is much more fun to pretend that your caching of a value increased performance 1000% rather than testing to see what it did. Alas, benchmarking in JavaScript is still necessary, especially as JavaScript is used (when it shouldn’t be?) in more performance-sensitive applications. Unfortunately, due to many of its core architectural decisions, JavaScript doesn’t make benchmarking any easier.
Show HN: NoSQL, but it's SQLite (github.com)
SQLite-backed key-value store with JS-like object manipulation and automatic JSON serialization.
XState – State machines for state management in JavaScript (github.com/statelyai)
XState is a state management and orchestration solution for JavaScript and TypeScript apps. It has zero dependencies, and is useful for frontend and backend application logic.
Why Playwright Is Dominating Browser Automation: A Deep Dive (leapcell.io)
Hexagon Page Animations (redblobgames.com)
When I first wrote my hexagon guide[1] in 2013 I used d3.js[2], which has a nice animation system.
Show HN: Mizu.js – Lightweight HTML templating library for any-side rendering (mizu.sh)
Supercharge your HTML!
How do you do, fellow web developers? A growing disconnect (exotext.com)
I had a "woah" moment once when one programmer got genuinely baffled about the fact that a website somehow "erases" the history of requests from the Network tab of Chrome DevTools. He was wondering what magic method was used to hide the communication. He hadn't realized the app was not a single-page JS application (SPA), and he actually wasn't aware there is another way to make web apps.
Show HN: CCState is a semantic, strict, and flexible state management library (github.com/e7h4n)
CCState is a semantic, strict, and flexible state management library suitable for medium to large single-page applications with complex state management needs.
Day Zero – Build Good Web Apps with the Zero Sync Engine (rocicorp.dev)