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…

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…

Latest Deno release supports NPM packages

Deno 1.34, the latest release of the JavaScript and TypeScript runtime positioned as an alternative to Node.js, improves compatibility with NPM and Node.js and enhances the developer experience, according to proponents. With Deno 1.34, unveiled on May 25, 1deno compile supports NPM packages. Since Deno 1.6, introduced in December 2020, Read more…