Source code for node from the book: Node Beginner Book