Deno unveils faster, simpler web server API

Deno 1.35, the latest version of the JavaScript/TypeScript/WebAssembly runtime positioned as an alternative to Node.js, stabilizes 1Deno.serve() , a new API that makes it easier to build web servers. The 1Deno.serve() API provides a “fast and convenient” way to create web servers, according to Deno project developers, who announced Deno Read more…

Simple tests for dark scenarios

#​494 — July 11, 2023 Read on the Web Node v20.4.0 Introduces Mock Timers — The latest release of Node includes a new 1MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking 1setTimeout , 1setInterval , 1<a href="https://nodeweekly.com/link/142336/rss">node:timers</a> , and more. Rafael Gonzaga Testing Read more…

Deno wants us to ditch CommonJS

#​493 — July 4, 2023 Read on the Web RegExp’s 1v Flag with Set Notation and Properties of Strings — The capability of regexes in Node has been turned up a few notches, especially in the support for, and manipulation of, Unicode character sets (for example, you can now do Read more…

Getting under Node’s skin

#​491 — June 20, 2023 Read on the Web ▶  Recreating a JS Runtime to Understand Node’s Magic — Popular speaker, educator, Microsoft MVP and Node.js core team member Erick gives a very enthusiastic talk on the latest ‘hello world’ in the JavaScript world: building a runtime 😏 Somehow, Erick manages Read more…

Let’s get debugging

#​490 — June 13, 2023 Read on the Web An Introduction to Debugging Tools and Approaches for Node — An informative primer on debugging, from simple things like using IDE extensions to highlight potential problems or, yes, console logging, through to using the V8 inspector and debugging via Chrome. Craig Buckler Read more…

A colorful issue

#​488 — May 30, 2023 Read on the Web ▶  ‘I Tried 8 Different Postgres ORMs’ — A modern, fast-paced, and slightly irreverent meme-heavy look at the various ways in which you can interact with Postgres (provided serverless by Neon, in this case) from a backend JavaScript app. It’s pretty neat Read more…