O'Reilly logo

Node.js, MongoDB and Angular Web Development, 2nd Edition by Caleb Dayley, Brendan Dayley, Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10Using Additional Node.js Modules

This chapter exposes you to some additional built-in capabilities of Node.js. The os module provides operating system functionality that can be useful when implementing your applications. The util module provides various functionality, such as string formatting. The dns module provides the ability to perform DNS lookups and reverse lookups from a Node.js application.

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

Using the os Module

The os module provides a useful set of functions that allow you to get information from the operating system (OS). For example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required