10. Using Additional Node.js Modules

The purpose of this chapter is to expose you to some of the additional built-in capabilities in Node.js. The os module exposes aspects of the operating system that can be useful when implementing applications. The util module provides various functionality, such as synchronous output, string formatting, and inheritance enhancements. The dns module enables you to perform DNS lookups and reverse lookups from a Node.js application.

The following sections describe these modules and how to utilize them in your Node.js applications. Some of the methods should already be familiar to you because you have seen them in previous chapters.

Get Node.js, MongoDB, and AngularJS Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.