🐶 Snooping around Node.js code dependencies
A cli to get the basics of other Node.js code at a glance and get ideas on what to use in your next project.
Lists the URL and description of the dependencies.
It's also useful to use it for your own code, e.g. to quickly remember which dependency was used in a project.
$ npm install snoopm -g
Usage: snoopm [options] [package dir or url repository]
ProTip: On OS X Terminal Command Key + double_click must open the link on default browser
Options:
-h, --help output usage information
-V, --version output the version number, shows if there is newer version
-v, --verbose prints name, url and version (shows if there is newer version)
-c, --color no colors for output
-d, --dev snooping devDependencies
-l, --lines outputs lines instead table
- Snooping local dependencies (same directory than source):
$ snoopm .
or $ snoopm
- Snooping remote dependencies by URL:
$ snoopm https://github.com/remy/nodemon
or
$ snoop https://github.com/remy/nodemon/blob/main/package.json
or
$ snoop https://raw.githubusercontent.com/remy/nodemon/main/package.json
- Snooping with verbose output:
$ snoopm -v .
- Snooping the development dependencies:
$ snoopm -d .
- Snooping and retriving lines as output; useful for post-processing:
$ snoopm -l .
- Supressing the colors of the output:
$ snoopm -lc .
SnOOpm logo made by @psikoz