Even if you have no interest in writing Node applications, I hope you’ll follow along by running these code snippets locally. See Running Code in Node.js for directions.
When you see a code snippet with a filename, that means it’s self-contained and can be run without modification. Here’s an example:
The surrounding context should make it clear ...