Node.js 20 introduces permissions model

Node.js 20 is available. The latest version of the popular JavaScript runtime introduces a permissions model for restricting resource access during execution. It’s currently an experimental feature, requiring a special flag to enable. Introduced April 18, Node.js 20 can be accessed from nodejs.org as the “Current” release, carrying the latest Read more…

Optimizing npm script performance

#​480 — March 30, 2023 Read on the Web ⏱ Node Weekly is moving to Tuesdays. We’re making some changes to our schedule, and since next Tuesday isn’t far away, we’re skipping next week’s issue and we’ll be back on Tuesday, April 11, 2023. See you then!__Peter Cooper, your editor Read more…

Shell-free scripting from Node

#​478 — March 16, 2023 Read on the Web Shell-Free Scripts with Execa 7.1 — Execa is a popular process execution library for Node and the latest version includes an interesting 1$ method feature for writing zx-style scripts with it, making it even more useful for shell scripting style usecases. ehmicky Read more…

Playing in the sandbox

#​476 — March 2, 2023 Read on the Web zx 7.2: A Tool for Writing Better Shell Scripts — Always a popular tool when we link it! 1zx is an alternative way to run Node that makes it more useful for shell scripting by bringing along a variety of niceties Read more…

7 awesome JavaScript projects to check out today

Here are seven newer JavaScript projects you might not know about yet. These tools and frameworks cover a wide range of functionality and give us insight into emerging trends in JavaScript development. Examples include native app creation, strongly typed full-stack development, a drop-in runtime alternative to Node.js, in-browser graphics, and Read more…

Deno adds package.json support

Deno 1.31, the latest version of the Node.js rival runtime for JavaScript, TypeScript, and WebAssembly, adds 1package.json support. The new feature is one of several improvements designed to make it easier for developers to transition from existing Node.js projects. Deno now will automatically detect a 1package.json and use it to Read more…