Code snippets from the book Node "The Right Way