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
Command Line Quick Tips Quick Tips

Background a process in the terminal

< 1 min read

Categories
Node.js Quick Tips Quick Tips

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

< 1 min read

Categories
JavaScript Quick Tips Quick Tips

How to use the nullish coalescing operator

< 1 min read

Categories
Node.js Quick Tips Quick Tips

Don’t install body-parser – it’s already bundled with Express

< 1 min read