Wrap Up

Let's highlight the main contents of this chapter.

We'll cover the following

Key takeaways

Let’s take a moment to reflect on what we’ve learned in this chapter:

  • We can use the fs module for accessing, manipulating, and interacting with the file system. We can use the process object to access information about the current Node.js process and to interact with it. Both of these are built-in global Node.js modules.

  • We can use process.env to access the environment variables attached to a Node.js process.

  • We can use process.argv to access the values passed into the application from the command line.

Get hands-on with 1200+ tech skills courses.