Warning: this module is currently in a dirty-hack stage.
Install all dependencies require'd within your JS code without needing a package.json. Intended for quick and dirty prototyping.
npm install -g install-requires
Recursively walk through all dependencies in a js file and install any that are missing:
You can also include multiple js files:
install-requires mycode.js mycode2.js mycode3.js
--save-devwhen a package.json exists: