Express.js 5.0

September 10, 2024 By Mark Otto 0

Node.js Weekly

Express.js 5.0 Released; Sort Of — After a long period of seeming to merely be on life support, work on Express picked up significantly earlier this year with a big plan to push ‘Express forward.’ The first fruit of this process is now beginning to appear with v5.0. Node 18 is now the minimum support version, there are error handling improvements, improvements to the project’s tooling, the introduction of a Threat Model, and updates to many of its dependencies.

Wesley Todd

💡 We say sort of because there’s no official release post yet, and over on the npm registry, 5.0 is still tagged as next, so take that into account when installing it.

WorkOS: The Modern Identity Platform for B2B SaaS — WorkOS is a modern identity platform for B2B SaaS, offering flexible and easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes instead of months. It’s trusted by hundreds of high-growth startups such as Perplexity, Vercel, Drata, and Webflow.

WorkOS

🛠 Code & Tools

Jimp 1.6: Image Processing in Node without Native Dependencies — Most image libraries, such as the powerful Sharp, lean on external libraries to do the heavy lifting, but Jimp can handle BMPs, GIFs, JPEGs, PNGs, and TIFFs on its own for blurring, color adjustments, resizing, rotation, etc. GitHub repo.

jimp Contributors

💡 Being pure JavaScript, Jimp can also be used in the browser.

Rockpack 4.4: An Alternative React App Builder — Akin to Create React App, the goal is to get project setup time as low as possible, but Rockpack holds different opinions around how far to take things and packs in a lot of ideas including server side rendering, linting, and testing. GitHub repo.

Alex Sergey

  • create-fastify 5.0 – Rapidly generate a Fastify project. You don’t even need to install it first. You can use npm init fastify app_name_here.

  • file-type 19.5 – Detect the file type of a file, stream, or data. Now with WebVTT support.

  • better-sqlite 11.3 – A neat way to use SQLite from Node. Now with SQLite 3.46.1.

  • Faker 9.0 – Generate large amounts of fake data. Upgrade guide.

  • pnpm 9.10 – The fast, efficiency-focused package manager.

  • ESLint 9.10 – Now with types included.

  • ini 5.0 – npm’s INI file parser/serializer.