Category: node js

All’s shell that ends shell.

July 7, 2022 By Mark Otto 0

Executing Shell Commands from Node.js — Dr. Axel’s journey through the backrooms of Node.js continues with another in-depth guide – this time tackling running other programs from our Node apps. The focus is on the built-in child_process module here, but you might also want to…

Celebrating Svelte

July 1, 2022 By Mark Otto Off

🤯 Things looked quiet at first, but this has turned out to be a pretty strong week in terms of releases and things – we’ve even had to push a new Vue release and a new Deno webapp framework to the bottom of the issue!…

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…