οΈIN BRIEF
π TC39's Hemanth.HM has begun keeping a list of ES2023 code examples like he did for ES2022, ES2021, and ES2020.
π Promise.withResolvers progressed to stage 2 at the latest TC39 meeting.
π The folks at Meta / Facebook have written about the efficiency gains made in Messenger Desktop by moving from Electron to React Native.
π One downside to platforms like Cloudflare Workers using V8 isolates has been a lack of support for opening TCP sockets β quite an impediement if you want to talk to a RDBMS over TCP or something. Fear no more, Cloudflare Workers has introduced a connect() API for creating TCP sockets from Workers functions.
π TC39's Hemanth.HM has begun keeping a list of ES2023 code examples like he did for ES2022, ES2021, and ES2020.
π Promise.withResolvers progressed to stage 2 at the latest TC39 meeting.
π The folks at Meta / Facebook have written about the efficiency gains made in Messenger Desktop by moving from Electron to React Native.
π One downside to platforms like Cloudflare Workers using V8 isolates has been a lack of support for opening TCP sockets β quite an impediement if you want to talk to a RDBMS over TCP or something. Fear no more, Cloudflare Workers has introduced a connect() API for creating TCP sockets from Workers functions.
π2
RELEASES
Node.js 20.2
Rome 12.1
The formatter/linter gains stage 3 decorator support.
Ember.js 5.0
App framework.
Jasmine 5.0
Testing framework.
Gatsby 5.10
Static site generator built on top of Node.js using React and GraphQL
Node.js 20.2
Rome 12.1
The formatter/linter gains stage 3 decorator support.
Ember.js 5.0
App framework.
Jasmine 5.0
Testing framework.
Gatsby 5.10
Static site generator built on top of Node.js using React and GraphQL
π₯7
CODE & TOOLS
π©VanJS: A 1.2KB Reactive UI Framework Without JSX
A new entrant to an increasingly crowded space, VanJS is particularly light and elegant, and its author has put some serious effort into documenting it and offering tools to convert your HTML to its custom format. Itβs short for vanilla JavaScript, by the way.. GitHub repo.
TAO XIN
π© Starry Night: GitHub-Like Syntax Highlighting
Apparently, GitHubβs own syntax highlighting approach isnβt open source, but this takes a similar approach and is. Itβs admittedly quite 'heavy' (due to using a WASM build of the Oniguruma regex engine) but thatβs the price of quality.
TITUS WORMER
π© eslint-plugin-check-file: Rules for Consistent Filename and Folder Names
Allows you to enforce a consistent naming pattern for file and directory names in projects.
HUAN
π©VanJS: A 1.2KB Reactive UI Framework Without JSX
A new entrant to an increasingly crowded space, VanJS is particularly light and elegant, and its author has put some serious effort into documenting it and offering tools to convert your HTML to its custom format. Itβs short for vanilla JavaScript, by the way.. GitHub repo.
TAO XIN
π© Starry Night: GitHub-Like Syntax Highlighting
Apparently, GitHubβs own syntax highlighting approach isnβt open source, but this takes a similar approach and is. Itβs admittedly quite 'heavy' (due to using a WASM build of the Oniguruma regex engine) but thatβs the price of quality.
TITUS WORMER
π© eslint-plugin-check-file: Rules for Consistent Filename and Folder Names
Allows you to enforce a consistent naming pattern for file and directory names in projects.
HUAN
β€4
β€10π2
π₯js2flowchart.js
A visualization library to convert JavaScript code into attractive SVG flowcharts. Luckily, thereβs a live online version if you want to play without having to install anything.
BOHDAN LIASHENKO
A visualization library to convert JavaScript code into attractive SVG flowcharts. Luckily, thereβs a live online version if you want to play without having to install anything.
BOHDAN LIASHENKO
π₯10
π12π€8
β€12π1
π€14β€8π5
π22π3
π12
π Issue 7 / 24.05.2023
π The State of Node.js Performance in 2023
Nearformβs Rafael Gonzaga reflects on the recent release of Node 20 and puts it through its paces against v18.16 and v16.20 with a few different benchmark suites running on a pretty typical EC2 instance. He goes into a lot of depth thatβs worth checking out, but if you havenβt got time: βNode 20 is faster.β π
RAFAEL GONZAGA
π Bun v0.6.0: Upping Its Node.js Compatibility Game
A βbiggest release yetβ of the popular alternative JS runtime adds a built-in bundler and minifier, standalone executable generation, and more enhancements to its Node.js compatibility (something Bun boasts as a feature as a βdrop-in replacementβ, as opposed to Deno where itβs more of a late addition).
JARRED SUMNER
Β©οΈNODE.JS WEEKLY
π The State of Node.js Performance in 2023
Nearformβs Rafael Gonzaga reflects on the recent release of Node 20 and puts it through its paces against v18.16 and v16.20 with a few different benchmark suites running on a pretty typical EC2 instance. He goes into a lot of depth thatβs worth checking out, but if you havenβt got time: βNode 20 is faster.β π
RAFAEL GONZAGA
π Bun v0.6.0: Upping Its Node.js Compatibility Game
A βbiggest release yetβ of the popular alternative JS runtime adds a built-in bundler and minifier, standalone executable generation, and more enhancements to its Node.js compatibility (something Bun boasts as a feature as a βdrop-in replacementβ, as opposed to Deno where itβs more of a late addition).
JARRED SUMNER
Β©οΈNODE.JS WEEKLY
π₯5
οΈIN BRIEF
π It's not just Bun and Deno trying to offer more Node.js support, but Cloudflare Workers now has support for three more Node APIs too:
π The folks at ReversingLabs wrote about how their researchers found some 'RATs' hiding in the npm attic β specifically, the TurkoRat 'infostealer.'
π Fusion is a promising looking Node.js-based static site generator sent in by a Node Weekly reader. We'll cover it properly when it hits 1.0.
π It's not just Bun and Deno trying to offer more Node.js support, but Cloudflare Workers now has support for three more Node APIs too:
node:path, the Streams API, and StringDecoder.π The folks at ReversingLabs wrote about how their researchers found some 'RATs' hiding in the npm attic β specifically, the TurkoRat 'infostealer.'
π Fusion is a promising looking Node.js-based static site generator sent in by a Node Weekly reader. We'll cover it properly when it hits 1.0.
π1