Technical requirements
You should have the latest version of Node.js 22 installed, as well as access to a terminal. You will also need access to an editor and browser of your choice.
The Optimizing synchronous functions recipe will require the use of MongoDB. We’ll be using Docker to provision a containerized MongoDB instance. Please refer to Chapter 7, for detailed technical setup information regarding how to use MongoDB via Docker.
The code samples that will be used in this chapter can be found in this book’s GitHub repository at https://github.com/PacktPublishing/Node.js-Cookbook-Fifth-Edition, in the Chapter10
directory.