Accessing the Node.js API documentation
The Node.js project provides comprehensive API reference documentation. The Node.js API documentation is a critical resource for understanding which APIs are available in the version of Node.js that you’re using. The Node.js documentation also describes how to interact with APIs, including which arguments a given method accepts and the method’s return value.
This recipe will show how to access and navigate the Node.js API documentation.
Getting ready
You will need access to a browser of your choice and an internet connection to access the Node.js API documentation.
How to do it…
This recipe is going to demonstrate how to navigate the Node.js API documentation. Follow these steps:
- First, navigate to https://nodejs.org/api/ in your browser.
You’ll see the Node.js API documentation for the most recent version of Node.js:
Figure 1.1 – Node.js API documentation...