Category: node js

Looking through the Node toolbox

August 6, 2024 By Mark Otto 0

🏖️ Hi! We’re taking next week off for a brief summer break. We’ll be back with our next issue on August 20. We’ve also noticed in testing that Gmail isn’t entirely sure about this issue, so if you could mark it as safe, show images,…

How Googlebot sees your JavaScript

August 1, 2024 By Mark Otto Off

🏖️ Hi! Just a quick note to say that we’re taking next week off for a brief summer break. We’ll be back with our next issue on August 15.__Peter Cooper, your editor How Google Handles JavaScript In Its Indexing Process — Once, if you wanted…

Node can run TypeScript (sort of)

July 30, 2024 By Mark Otto 0

Node.js Adds Experimental Support for TypeScript — In this pull request, Node merged an experimental ability to transpile TypeScript into JavaScript, ultimately letting Node directly ‘run TypeScript’. However, no type checking is performed and, as Matt Pocock explains, experimental and TypeScript-only features are a no-no.…

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