package.json file in the root of your project
{ "name" : "my-project"
, "version" : "1.0.0"
, "dependencies" : { "express" : "1.0.0" } }
npm install
Since you're calling this with no args, and not in global mode, it'll just install all your deps locally.
require("express")