This post is from 2014 - check out the update!
For most of the nearly twenty years since its inception, JavaScript lacked many of the niceties that made other programming languages like Python and Ruby so attractive: command-line interfaces, a REPL, a package manager, and an organized open-source community. Thanks in part to Node.js and npm, today's JavaScript landscape is dramatically improved. Web developers wield powerful new tools, and are limited only by their imagination.
What follows is a list of tips and techniques to keep you and your node apps happy.
1. Start new projects with npm init
npm includes an init
command which walks you through the process of creating a...