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.” 😁
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).
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.
A Guide to Visual Regression Testing with Playwright — The Playwright browser control library can form the basis of an end-to-end testing mechanism all written in JavaScript, and comparing the visual output of tests can show where things are going wrong.
Dima Ivashchuk (Lost Pixel)
Benchmarking a ‘Compiled’ Node vs Bun App — The latest release of Bun (also above) has the ability to compile apps into a single executable (something Node 20 added too, though the author uses Vercel’s pkg instead). This isn’t a particularly insightful benchmark, but does provide a data point.
Decode
Server-Sent Events with Node — Server-Sent Events (SSE) enable a web server to send real-time updates to the client but without the two-way connection overhead of WebSockets.
❤️ Postgres — You need a database provider that loves Postgres as much as you do. Fully managed on public cloud with amazing support.
Crunchy Bridge sponsor
ts-sql-query: Type-Safe SQL Query Builder — Want to build dynamic SQL queries in a type-safe way with TypeScript verifying queries? This is for you. Supports numerous SQL-based database systems and isn’t an ORM itself. (Comes from a direct recommendation from a reader who uses it.)
Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Deno Land, the developers of the Deno TypeScript/JavaScript runtime, have introduced Deno Cron, a feature the company describes as an easy way to create scheduled jobs. Announced November 29 and available behind the 1--unstable flag Read more…
#512 — November 28, 2023 Read on the Web Node.js Download Statistics — Node.js TSC member Matteo has put together a handy site that visualizes the publicly available Node.js download statistics, partly as a way Read more…
#511 — November 21, 2023 Read on the Web ‘A Node + TypeScript + ts-node + ESM Experience That Works’ — It’s just three files: 1package.json , 1tsconfig.json and a utilities file, and you’re good Read more…
0 Comments