Category: node js

Should Node.js support Web Workers?

June 30, 2022 By Mark Otto 0

Working with the File System from Node.js — Dr. Axel seems to be on a bit of a Node kick lately and comes back this week with a particularly deep dive on all things related to working with text files from Node, from simple reading…

What’s new in ECMAScript 2022?

June 24, 2022 By Mark Otto Off

❓ If you’re unfamiliar with ECMAScript as a term, it’s the name of the generic, standardized language behind JavaScript implementations, as JavaScript is technically a trademark of the Oracle Corporation. Longer explanation. New Course on Web Components — “Web Components are one of the most…

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

12+ Best Node.js Frameworks for Web App Development in 2022

June 14, 2022 By Mark Otto Off

Node.js is getting increasingly popular among developers, to the point where some developers call Node.js their primary choice for backend development. In this article, we review the 12 best Node.js web frameworks that we rate according to their popularity and unique toolkits for time and…

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…