Deno adds Deno Cron for job scheduling

Deno Land, the developers of the Deno TypeScript/JavaScript runtime, have introduced Deno Cron, a feature the company describes as an easy way to create scheduled jobs. Announced November 29 and available behind the 1–unstable flag in Deno 1.38, 1Deno.cron() is a function that takes three parameters: the name of the Read more…

Issue 2 to the power of 9

#​512 — November 28, 2023 Read on the Web Node.js Download Statistics — Node.js TSC member Matteo has put together a handy site that visualizes the publicly available Node.js download statistics, partly as a way to help guide you as to which versions and which architectures need the most support. Read more…

Milo: A new HTTP parser for Node?

#​510 — November 14, 2023 Read on the Web 36 Node CLI App Best Practices — From the creator of several Node-based CLI tools comes this helpful collection of best practices for building “successful, empathic and user-friendly” CLI tools using Node, plus an appendix rounding up popular CLI framework options. Liran Read more…

Sizing up your images with Sindre

#​509 — November 7, 2023 Read on the Web Awesome Node Security: A Curated List of Node Security Resources — Includes links to libraries like Helmet (which just had a new release a few hours ago), educational resources, tools, and even stories of incidents like the left-pad incident (which, somehow, was Read more…

ES module autodetection coming to Node

#​508 — October 31, 2023 Read on the Web Node v21.1 (Current) Released with ESM Detection Feature — “The new flag 1–experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. … We hope to make detection enabled by default in a future version.” Michaël Zasso Read more…

Using JavaScript’s built-in objects

JavaScript’s built-in objects include 1Object , 1JSON , 1console , 1String , 1Math , 1Date , and the 1window and 1global objects. These are some of the most important and useful parts of the JavaScript language. Together, they are essential elements of the programming environment in both the browser and server-side platforms Read more…

Taking Node to the JVM

#​507 — October 24, 2023 Read on the Web Javet 3.0: Embed Node and V8 in Java Apps — Lets you spin up V8 interpreters or full Node.js runtimes within JVM-based apps. It’s cross platform, mature, and well maintained with support for Node 20 and V8 11. There’s a helpful Read more…

Node.js 21 brings WebSocket client

Node.js 21, the latest release of the open source cross-platform JavaScript runtime, has arrived, featuring a built-in WebSocket client and support for globs in the platform’s test runner. Announced October 17, Node.js 21 is equipped with an experimental, browser-compatible WebSocket implementation, enabled through the 1–experimental-websocket flag. WebSocket enables two-way communication Read more…