#488 — May 30, 2023
🐘 And if you’re a Postgres user, we have a newsletter for that!
Advanced Fastify: Hooks, Middleware, and Decorators — Fastify is an increasingly common alternative to Express (more on why here). Damilola looks at some higher level Fastify concepts here, as well as how you might incrementally migrate from Express to Fastify.
Temporal 101 Course in TypeScript — Learn Temporal’s open source key concepts and best practices with our free self-paced training course in TypeScript.
Temporal Technologies sponsor
Color Names: A Gigantic List of Handpicked Color Names — At first, I thought this was just going to be a hundred or so obvious choices like the named colors in HTML (💜 rebeccapurple) but it’s actually 30126 colors with a delightful array of names and uses. There’s more to this project than meets the eye.
The folks at Deno have written about how Deno Deploy now supports importing Node.js built-in modules such as http, fs, and path, making it easier to run existing Node apps on their platform.
A look at the security implications of various HTTP response headers and how Helmet lets you work with them in Express apps.
Deploying Vanilla Node.js Apps on Fly.io — Actually titled “Vanilla with Candy Sprinkles”, this post covers the basics of using Fly’s next-gen hosting platform to quickly deploy Node apps (we have no affiliation with Fly but use it for some internal apps – it’s pretty good).
Sam Ruby (Fly)
▶ Building a RESTful API with Fastify, MongoDB and Mongoose — A substantial first part of a promised series of videos, along with the code.
🛠 Code & Tools
Bebop 2.7: Fast, Typesafe Binary Serialization — Schema-based, typesafe, binary serialization and code generation that supports numerous languages, including TypeScript. Has a built in REPL for playing with the code generation which has had some big improvements in this release. (Its homepage has a neat bit of ASCII art.)
🚀 Need to Upgrade React Native from V0.59 to V0.71? We Can Help 🚀 — Read the full case study on our bold upgrade strategy (regenerating the ReactNative project) to reduce tech debt.
UpgradeJS | JS Upgrade Services sponsor
node-oracledb 6.0: A Pure JS Oracle Database Driver — A major release for the Oracle Database driver which can now be used in ‘thin’ and ‘thick’ modes providing either the essentials or the full fat Coke version (which requires some extra Oracle client libraries to be installed).
Migrate 2.0: An Abstract Migrations Framework — Provides a simple mechanism around working with migrations without enforcing any particular database or system.
axios-token-manager: Manage the Caching of Axios Tokens — For managing the caching of auth tokens for specified validity periods as well as refreshing or recovering them transparently (such as when the backend has revoked a token before its period has expired.)
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.
CSV Parse: Convert CSV Text into Arrays / Objects — Extends the native Node.js transform stream API so you can get up and running quickly – see some example code. Part of a suite of CSV libraries that can also generate and transform CSV more generally.
Jest Puppeteer 9.0: Run Tests using Jest and Puppeteer — A Jest preset enabling end-to-end testing with Puppeteer.
sequelize-paranoid-delete: onDelete for Sequelize Paranoid Mode — It sounds like a Radiohead song title, but actually enables onDelete when using paranoid mode with Sequelize. (Paranoid mode is an option where rows are not truly deleted but marked as deleted.)
node-xlsx: An Excel File Parser and Builder