snoopm

1.1.19 • Public • Published

snoopm

🐶 Snooping around Node.js code dependencies

npm tst

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.

Install

$ npm install snoopm -g

Usage

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

Examples

  • Snooping local dependencies (same directory than source):

$ snoopm . or $ snoopm

Alt vmware

  • 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

Alt vmware

  • Snooping with verbose output:

$ snoopm -v .

Alt vmware

  • Snooping the development dependencies:

$ snoopm -d .

Alt vmware

  • Snooping and retriving lines as output; useful for post-processing:

$ snoopm -l .

Alt vmware

  • Supressing the colors of the output:

$ snoopm -lc .

Alt vmware

Collaborators

SnOOpm logo made by @psikoz

Package Sidebar

Install

npm i snoopm

Weekly Downloads

5

Version

1.1.19

License

MIT

Unpacked Size

378 kB

Total Files

17

Last publish

Collaborators

  • carvilsi