RELEASES
TypeScript 5.2 Beta
Just a month after the final release of 5.1, too. using is the headline feature and the release post goes into fantastic detail.
Node.js v20.4.0 (Current)
Node gains an interesting new 'mock timers' feature for writing more reliable and deterministic tests for time-dependent functionality.
Vite 4.4
The frontend toolkit updates to esbuild 0.18, adds experimental Lightning CSS support, and there are new starter templates for Solid and Qwik users.
Deno 1.35 β The alternative JS runtime makes Deno.serve() (its Web server API) stable, and improves npm and Node compatibility.
Bun 0.6.13
TypeScript 5.2 Beta
Just a month after the final release of 5.1, too. using is the headline feature and the release post goes into fantastic detail.
Node.js v20.4.0 (Current)
Node gains an interesting new 'mock timers' feature for writing more reliable and deterministic tests for time-dependent functionality.
Vite 4.4
The frontend toolkit updates to esbuild 0.18, adds experimental Lightning CSS support, and there are new starter templates for Solid and Qwik users.
Deno 1.35 β The alternative JS runtime makes Deno.serve() (its Web server API) stable, and improves npm and Node compatibility.
Bun 0.6.13
π CODE & TOOLS
π©MathLive: A Web Component for Math Input
A web component that provides an interface for editing formulas. It uses LaTeX-style typesetting to keep things looking good. GitHub repo.
ARNO GOURDOL
π©copy-text-to-clipboard: Copy Text to Clipboard in Modern Browsers
Pretty simple but will save you a little messing around with the browser API.
SINDRE SORHUS
π©MathLive: A Web Component for Math Input
A web component that provides an interface for editing formulas. It uses LaTeX-style typesetting to keep things looking good. GitHub repo.
ARNO GOURDOL
π©copy-text-to-clipboard: Copy Text to Clipboard in Modern Browsers
Pretty simple but will save you a little messing around with the browser API.
SINDRE SORHUS
π₯7β€2
What is the output?
Anonymous Quiz
22%
undefined 10 undefined
42%
ReferenceError undefined 10
28%
undefined 10 5
9%
undefined undefined 5
π10π€6β€3
β€14π8
π€£14π€6π5
This media is not supported in your browser
VIEW IN TELEGRAM
π First rule of programming...
π€£33π₯4
π16β€1π₯1
π12π€7β€1
What is the output?
Anonymous Quiz
73%
Hello, Alice! Hello, Bob!
8%
Hello, Alice!
5%
Hello, Bob!
14%
TypeError: person1.greet is not a function
π13β€1
π Issue 21 / 11.07.2023
π Node v20.4.0 Introduces Mock Timers
The latest release of Node includes a new MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking `setTimeout, setInterval, node:timers`, and more.
RAFAEL GONZAGA
π Testing the Dark Scenarios of Your Node App
An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldnβt, or you have zombie processes milling around? These are some of the βdark scenariosβ you can easily be prepared for.
YONI GOLDBERG AND RAZ LUVATON
π TypeScript and ECMAScript Modules in Node.js
An official docs page focusing on the use of ESM with Node.js in TypeScript projects. Weβve linked to this before, but itβs a handy document that continues to be updated.
MICROSOFT
Β©οΈNODE.JS WEEKLY
π Node v20.4.0 Introduces Mock Timers
The latest release of Node includes a new MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking `setTimeout, setInterval, node:timers`, and more.
RAFAEL GONZAGA
π Testing the Dark Scenarios of Your Node App
An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldnβt, or you have zombie processes milling around? These are some of the βdark scenariosβ you can easily be prepared for.
YONI GOLDBERG AND RAZ LUVATON
π TypeScript and ECMAScript Modules in Node.js
An official docs page focusing on the use of ESM with Node.js in TypeScript projects. Weβve linked to this before, but itβs a handy document that continues to be updated.
MICROSOFT
Β©οΈNODE.JS WEEKLY
π₯8
π© APIs and SDKs
π§² threads-api: Unofficial Client API for Meta's Threads
A way to use Metaβs Twitter-a-like from Node? This seems like the sort of thing that wonβt work in a month or two, but who knows.. many Instagram libraries have done very well despite a lack of official support.
JUNHO YEO
π§²π΅ Spotify Unveils a TypeScript SDK for its Web API
Now this is officially supported. The popular music streaming service has long had a Web API for getting information about songs, managing playlists, controlling playback, etc. and now thereβs an officially supported TypeScript SDK for it. This post includes some handy examples.
JO FRANCHETTI (SPOTIFY)
π§² threads-api: Unofficial Client API for Meta's Threads
A way to use Metaβs Twitter-a-like from Node? This seems like the sort of thing that wonβt work in a month or two, but who knows.. many Instagram libraries have done very well despite a lack of official support.
JUNHO YEO
π§²π΅ Spotify Unveils a TypeScript SDK for its Web API
Now this is officially supported. The popular music streaming service has long had a Web API for getting information about songs, managing playlists, controlling playback, etc. and now thereβs an officially supported TypeScript SDK for it. This post includes some handy examples.
JO FRANCHETTI (SPOTIFY)
π7β€3