Category: node js

Testing perfection for Node?

October 10, 2023 By Mark Otto 0

✍️ Due to being on the road attending the inaugural AI Engineer Summit, this week’s issue was meant to be far shorter than usual.. but I’m not sure it’s actually turned out that way 😅 In any case, we’re back to full service next week!__Your…

Comparing test assertion styles in JavaScript

October 5, 2023 By Mark Otto Off

An Interactive Intro to CRDTs — Conflict-free replicated data types (the so-called CRDTs) provide a popular approach to replicate data across numerous clients and allow live collaboration between them without conflicts. This post really digs into what makes CRDTs tick well, complete with interactive examples. Jake…

Node 20 gets faster, approaches LTS status

October 3, 2023 By Mark Otto 0

Honey, I Shrunk the npm Package! — Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a…

Getting some closure

September 28, 2023 By Mark Otto Off

The Saga of Google’s Closure Compiler — Dan looks back at Google’s Closure Compiler, a JavaScript transpiler Google built in 2004 and used most heavily in the pre-TypeScript era to reduce the size of JavaScript files, check types, and otherwise handle common pitfalls. A neat…

Polyfills gone rogue

September 26, 2023 By Mark Otto 0

GitHub Actions Could Be So Much Better — GitHub Actions provides a fantastic and useful service, but the developer experience leaves a lot to be desired, particularly when debugging them. If you’ve been frustrated with figuring out Action and setting up your own workflows, you’ll…

Microsoft spills the tea on TypeScript

September 21, 2023 By Mark Otto Off

▶  TypeScript Origins: The Documentary — You know you’ve made it when you get your own documentary! This has just dropped but is well produced, packed with stories from TypeScript’s co-creators, users, and other folks at Microsoft, and kept me entertained. It goes particularly deep into…

Does Node need a mascot of its own?

September 19, 2023 By Mark Otto 0

Does Node.js Need a Mascot? — Go has its cute gopher, Deno has a dinosaur, Bun has, well.. a bun, but what does Node have? Nothing official, as such, and Matteo Collina ponders whether we should change that. Most of the suggestions seem tongue in…

JavaScript, ML and LLMs

September 14, 2023 By Mark Otto Off

Bun 1.0: Is It a Toolkit? Is It a Runtime? It’s Both — You’ve used Node, you’ve seen Deno, now Bun has grown up too. It’s a performance-oriented server-side JS runtime built atop JavaScriptCore and makes the unique claim of being “a drop-in replacement for…

You can run GitHub Gists with npx

September 12, 2023 By Mark Otto 0

MikroORM 5.8 Released — When MikroORM is mentioned anywhere, I always see folks saying it’s great and deserves more attention, so I’m doing my bit to help 😁 It’s an ORM for Node based around Data Mapper, Unit of Work (hello implicit transactions and change…

TypeScript 5.2, Node 20.6, and Astro 3.0

September 7, 2023 By Mark Otto Off

😅 We’re back! After two weeks enjoying the blistering desert heat of Las Vegas and downpours of Storm Hilary, I’m ready to get back to the weekly JavaScript roundups – fingers crossed we’re here each week till Christmas now 🙂__Peter Cooper and the Cooperpress team Good…