Category: node js

Airbnb’s uncommon route to faster JS builds

May 27, 2022 By Mark Otto Off

npm Security Update: What GitHub’s Learnt About April’s Attack — Last month, GitHub, the stewards of the npm registry, reported that stolen OAuth tokens were used to access certain private repositories, private package manifests & metadata, as well as npm user account data. Here’s an…

TypeScript 4.7 supports ES modules in Node.js

May 26, 2022 By Mark Otto 0

TypeScript 4.7 Released — We wouldn’t usually make TypeScript a top feature in Node Weekly although many of you are using it, but this release has a huge feature in the shape of ES module support for Node – a feature that has been infamously difficult…

Getting animated

May 20, 2022 By Mark Otto Off

Headless CMS with World-Class TypeScript Support — Kontent handles all your content management. Streamline your code using TypeScript SDK, CLI, Rich Text resolver, and strongly typed Model Generator and scale with no problems when your project grows. Have you seen our UI? Kontent by Kentico Web…

Node 16 LTS now on AWS Lambda

May 19, 2022 By Mark Otto 0

Web Scraping via JS Runtime Heap Snapshots — When official APIs don’t offer all of the access users require (or don’t exist at all) scraping can become a less than ideal necessity. Puppeteer or Playwright make controlling a headless browser easy, but finding the data…

19 hours of D3.js??

May 13, 2022 By Mark Otto Off

Using Google’s CrUX to Compare Performance of JS Frameworks — Chrome User Experience Report (CrUX) is a dataset of user experience metrics collected from real world Chrome users and it’s possible to use it to analyze and compare the performance profiles of different UI frameworks,…

The one with the npm security stories

May 12, 2022 By Mark Otto 0

An Enhanced 2FA Experience for Your npm Account — Over the past six months, GitHub has been keen to tighten up security around the publishing of npm packages with two-factor authentication at the heart of the effort. Now an array of improved 2FA features are…

A 2022 take on TodoMVC in plain JS

May 6, 2022 By Mark Otto Off

Ryan Dahl on ‘JavaScript Containers’ — Ryan, originally known for Node and now Deno, thinks about JavaScript as being a universal scripting language and how the JS sandbox acts as a sort of high level version of the traditional Linux container and will only become…

Node’s new CLI test runner

May 5, 2022 By Mark Otto 0

The Thing About Fastify — Express isn’t the only game in town but sometimes it feels like it, so Jonas has written a love letter, of sorts, to Fastify, an alternative Node.js Web framework that ticks his boxes and which you, too, should consider, if you…

Let’s build a JavaScript bundler

April 29, 2022 By Mark Otto Off

Four Eras of JavaScript Frameworks — While the pre-2012 history is a bit fuzzy given the author’s experiences, this is a nice retrospective and attempt to break down the history of JavaScript frameworks into four eras, each of which builds upon what came before. Chris Garrett…

Now Node 16 gets the Fetch API too

April 28, 2022 By Mark Otto 0

Node 18’s ‘Prefix-Only’ Core Modules — A look at a new type of core module that can’t be imported quite like the others, e.g. import test from ‘node:test’ – what is this unusual package name notation about? Colin breaks it down in an easy to…