Tag: javascript

Node.js in the stream.

June 23, 2022 By Mark Otto 0

Using Web Streams in Node.js — Streams provide a handy abstraction for cleanly working with streaming data but Web Streams (a.k.a. WHATWG Streams) are a different, more broadly supported beast to classic Node.js streams. Dr. Axel starts from the basics but goes into a lot…

AbortController, your newest friend

June 17, 2022 By Mark Otto Off

Vitest: A Vite-Powered ‘Blazing Fast’ Unit Testing Framework — Brings a lot of cool stuff into one place and really is quick – if you want near instant feedback when you change your code, check it out. You get Vite’s transformers, resolvers, and plugins, snapshot…

Node 16 to duck out early in September 2023

June 16, 2022 By Mark Otto 0

zx v7.0: Better Script Writing with Node.js — No, not movie scripts, but shell scripts and the like. If writing JavaScript instead of wrestling with bash, Perl or Python sounds better to you, zx can make your life easier. v7.0 is fully rewritten in TypeScript,…

Mathematics is the music of reason.

June 10, 2022 By Mark Otto Off

Mathematical Notation Explained with JavaScript — Math has its own fascinating world of notation but if it feels a bit opaque to you, this post will help. It boils down numerous areas of mathematical notation into JavaScript equivalents making it easier to follow what’s going on.…

A big week for Fastify

June 9, 2022 By Mark Otto 0

Fastify 4.0 Released — The first major release of a popular, high performance Node.js Web framework in two years warrants some celebration. A focus has been placed on stabilization, modernization, and improving the already quite stable developer experience, rather than flashy new features, although this…

Sure, you can make games in Word with JavaScript now.

June 3, 2022 By Mark Otto Off

Don’t miss the link with a ⭐️ next to it in this issue, I promise it’s good 🙂 Jest Image Snapshot: A Jest Matcher for Image Comparisons — Say hello to visual regression testing using this tool from American Express. Take image snapshots of your app…

util.parseArgs arrives in Node 18.3

June 2, 2022 By Mark Otto 0

💡 Node 17.9.1 and 16.15.1 have been released too but are minor dependency-focused releases. What npm Can Learn from Go — Go’s approach to dependency management mitigates some key supply chain issues, but could some of Go’s ideas be brought into the world of npm? This…

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…