Usage : node scan-dependencies.js <path>
- will find every root project inside
<path>
(a project is a folder withpackage.json
file, himself not inside anode_modules
directory) - will
npm install
thennpm outdated
from project - will list all
*.js
files and check for missingrequire(…)
for every dependency