Category: node js

What’s new for us in ECMAScript 2024

July 25, 2024 By Mark Otto Off

Astro 4.12: Say Hello to Server Islands — The flexible Astro framework for building modern content-based sites continues to go from strength to strength. v4.12 includes a new concept of server islands, a way to integrate static HTML and server-side generated components together. Erika and Phillips…

Node.js v22.5 includes SQLite, but..

July 23, 2024 By Mark Otto 0

Node.js v22.5.0 (Current) Released – But Don’t Install It! — A notable release for three reasons: first, the WebSocket feature in node:http is now exposed. Second, remember how Node is embedding SQLite? node:sqlite is now included and ready to play with. Third, however, v22.5.0 introduced a nasty…

Exploring JavaScript (ES2024 Edition)

July 18, 2024 By Mark Otto Off

WorkOS: The Modern Identity Platform for B2B SaaS — Start selling to enterprise customers with just a few lines of code. WorkOS provides flexible, easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes. It’s used by hundreds of high-growth startups including Perplexity, Vercel, Drata, & Webflow.…

Stream if you wanna go faster

July 16, 2024 By Mark Otto 0

Work Progresses on node:sqlite — Last week, we featured efforts to include SQLite and a client library into the Node distribution. Things continue to progress quickly, with the feature proposed for inclusion in the forthcoming Node v22.5. You can see how it’ll work in this…

Do the (ESLint) Evolution

July 11, 2024 By Mark Otto Off

es-toolkit: A Modern JavaScript Utility Library — Think Lodash but newer, faster, smaller, and with tree shaking and built-in TypeScript support. The reference guide shows off the supported functions so far – it’s not quite as extensive as Lodash, but it’s getting there with the…

Node experiments with adding SQLite

July 9, 2024 By Mark Otto 0

Memetria: Redis Hosting for Serious Developers — Memetria provides secure, scalable hosting with features that enhance your development experience, including large key tracking and detailed performance metrics. Keep your production apps fast with better and uptime. Memetria Moving from Express to Fastify (Part 1) — Express…

Breaking a promise

July 4, 2024 By Mark Otto Off

How to Annul Promises in JavaScript — You can ‘cancel’ XHR and fetch requests, but can you cancel regular promises? Currently, no, but Zachary looks into doing the next best thing: telling a promise the game’s up, and discarding/ignoring its eventual results. Zachary Lee regex 2.1:…

Taming event loop lag

July 2, 2024 By Mark Otto 0

How We Tamed Node.js Event Loop Lag: A Deepdive — Node famously uses very few threads yet can handle a large number of clients performantly, as long as the work associated with each client is ‘small.’ When you get nested loops, as in this story,…

Say hi to ECMAScript 2024

June 27, 2024 By Mark Otto Off

Ecma International Approves ECMAScript 2024: What’s New? — This week, the Ecma General Assembly approved the latest ECMAScript / JavaScript language spec, officially making it a standard. As with ECMAScript 2023, it’s a small step forward, but Dr. Axel looks at what’s new. Dr. Axel Rauschmayer…

Should Node make ES modules easier to use?

June 25, 2024 By Mark Otto 0

✈️ I’ve produced this issue a day early due to being en-route to the AI Engineer World’s Fair, so any last minute news may be missed. If you’re there, do come and say hi, but you can also watch from afar through the livestreams that…