Categories
Node.js Quick Tips Quick Tips

Tips for migrating from Express to Fastify

2 min read Server creation and configuration is quite similar Fastify plugins are configured a little differently to Express middleware Express routes won’t show up when you call fastify.printRoutes() Fastify automatically serializes objects and arrays to JSON when you send them

Categories
Fastify Node.js Videos

Talk: Make the most of modern JavaScript with Fastify (2021-02-25)

< 1 min read

Categories
Command Line Quick Tips Quick Tips

Background a process in the terminal

< 1 min read

Categories
Node.js

Are you using promises and async / await safely in Node.js?

5 min read Jump links Support for async code in Node.js What does framework “native support” for async code look like? What happens when a framework doesn’t natively support async code? Which Node.js frameworks natively support async code? How to write async code safely in Node.js Build new projects with a framework which natively supports it Migrate existing […]

Categories
Node.js Quick Tips Quick Tips

How to speed up npm install in your Node.js builds

< 1 min read