List of Listings
Chapter 1. What is Express?
Chapter 2. The basics of Node.js
Listing 2.2. Requiring Node’s url module
Listing 2.3. Requiring things into different variable names
Listing 2.4. A simple package.json file
Listing 2.5. An example of the Mustache templating system
Listing 2.6. A simple package.json file
Listing 2.7. Using the Mustache module
Listing 2.8. A function that returns a random integer between 0 and 100
Listing 2.9. random-integer.js
Listing 2.10. Using our module from another file
Listing 2.11. Reading a file from disk
Listing 2.12. Adding a console.log after the asynchronous operations
Get Express in Action 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.