5 ms·
In the root project folder (containing package.json and ./node_modules), you can run the following: comm -12 <(ls ./node_modules) <(curl https://gist.githu
by BinaryBullet 11y ago
In the root project folder (containing package.json and ./node_modules), you can run the following:
comm -12 <(ls ./node_modules) <(curl https://gist.githubusercontent.com/azer/db27417ee84b5f34a6ea/raw/50ab7ef26dbde2d4ea52318a3590af78b2a21162/gistfile1.txt)
It will output any of the modules that @azer unpublished yesterday (that are being used by your project).
- BinaryBullet 11y agoNOTE: this only works for NPM 3's flat node_module structure