The one with the npm security stories

🇺🇦 #​437 — May 12, 2022 Read on the Web Node Weekly An Enhanced 2FA Experience for Your 1npm Account — Over the past six months, GitHub has been keen to tighten up security around the publishing of 1npm packages with two-factor authentication at the heart of the effort. Now Read more…

Will JavaScript containers overtake Linux containers?

Developers of the Deno JavaScript and TypeScript runtime are exploring the possibility of JavaScript containers—and the JavaScript sandbox itself—as a higher-level alternative to Linux containers. In a blog post this week, Ryan Dahl, who spearheaded development of both the Deno and Node.js JavaScript runtimes, cited JavaScript as the “universal scripting Read more…

Node’s new CLI test runner

#​436 — May 5, 2022 Read on the Web Node Weekly Node v18.1.0 (Current) Released — There’s an initial version of a CLI based test runner (which you start with 1node –test – see docs here) and there have also been further developments on implementing the WebAssembly Web API. Michaël Zasso The Read more…

Deno 1.21 improves REPL, error handling

Deno 1.21 has been released. This latest upgrade to the JavaScript/TypeScript runtime features improvements to the REPL (read-evaluate-print loop) and a move away from default type-checking. The Deno REPL is a tool for prototyping and trying out new things. With Deno 1.21, an 1-–eval-file flag can be used with the Read more…

Now Node 16 gets the Fetch API too

🇺🇦 #​435 — April 28, 2022 Read on the Web Node Weekly 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. 1import test from ‘node:test’ – what is this unusual package name notation about? Colin Read more…

Node.js 18 released

🇺🇦 #​434 — April 21, 2022 Read on the Web Node Weekly Node.js 18 (Current) Released — Almost exactly one year after Node 16 and two after Node 14 comes the newest version of Node. It’s a ‘current’ branch release for now, but will become an LTS (Long-Term Support) release Read more…

Wild wild property access

🇺🇦 #​433 — April 14, 2022 Read on the Web Node Weekly 🤠  Wild Wild Path: Object Property Paths with Wildcards and Regexps — A neat way to access properties in objects (which can be deeply nested) by way of string based queries that support wildcards and regular expressions. You Read more…

The one with the epic code and tools section

🇺🇦 #​432 — April 7, 2022 Read on the Web Node Weekly JavaScript and Node Testing Best Practices: 2022 Edition — Fifty best practices divided into categories (testing, backend, frontend, etc.) complete with simple examples. We first linked to this 2½ years ago, but a new edition is now out Read more…

Review: The 10 best JavaScript editors

JavaScript programmers have many good tools to choose from—almost too many to keep track of. In this article, I discuss 10 text editors with good support for developing with JavaScript, HTML5, and CSS, and for documenting with Markdown. Why use an editor for JavaScript programming instead of an IDE? In Read more…