Getting a new node project started with npm

The aim of this guide is to get people getting started with Node.js and npm, while also showing some of the handy commands I use to bootstrap my projects. Create your project directory. mkdir npmtest Change to the directory you just created. cd !$ Tell git to make a repo. git init Pull down a preconfigured .gitignore file for node projects from github. wget https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -O .gitignore Pull down a basic Makefile I use for my projects....

February 1, 2014 3 min