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…

9 Deno runtime projects to watch

Deno is championed as a more-secure alternative to the popular Node.js JavaScript runtime. The 1.0 version of the Deno runtime, which leverages the V8 JavaScript engine and was built using Rust, arrived in May 2020. Node.js founder Ryan Dahl even spearheaded Deno’s development, which now has more than 83,000 stars Read more…

Better type checking and more in Deno 1.24

A recent upgrade to Deno, the JavaScript and TypeScript runtime positioned as a rival to Node.js, improves performance for transpiling, type checking, and more, proponents say.  Prior to the Deno 1.24 release, Deno internally converted TypeScript code to JavaScript using the TypeScript compiler when the 1–check flag was specified; otherwise, it used Read more…

Deno vs. Node.js: Which is better?

In this article, you’ll learn about Node.js and Deno, the differences between CommonJS and ECMAScript modules, using TypeScript with Deno, and faster deployments with Deno Deploy. We’ll conclude with notes to help you decide between using Node.js or Deno for your next development project. What is Node.js? Node.js is a Read more…

The ins and outs of ‘bin’ scripts

#​452 — September 1, 2022 Read on the Web Tinybench: A Tiny and Simple Benchmarking Library — No dependencies, but uses whatever precise timing capabilities are available (e.g. 1process.hrtime ). You can then benchmark whatever functions you want, specify how long or how many times to benchmark for, and get Read more…