List of Listings
Chapter 1. Getting started
Listing 1.1. A writable stream that counts
Chapter 2. Globals: Node’s environment
Listing 2.2. Exporting modules
Listing 2.3. Exporting multiple objects, methods, and values
Listing 2.4. Loading modules with require
Listing 2.5. The group/index.js file
Listing 2.6. The group/one.js file
Listing 2.7. A file loading the group of modules
Listing 2.8. A package.json file for a directory containing a module
Listing 2.12. Benchmarking a function
Get Node.js in Practice 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.