Category: node js

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…

Node v20.6.0 released with .env support

September 5, 2023 By Mark Otto 0

Node v20.6.0 (Current) Released — As we teased last week, the latest Node release includes all-new built-in support for setting environment variables via .env files, so you may no longer have a need for dotenv, depending on your use case. You can now also use…

.env support coming to Node

August 29, 2023 By Mark Otto 0

👋 We’re back! Well, sort of.. If you didn’t get an issue of Node Weekly in the past few weeks, don’t worry, I was on vacation. I’m technically on vacation for a couple more days but didn’t want too many issues to pass by, so…