The detail command allows you to get information about a nodejs package or project on a web page browsed using your default web browser.
The detail package needs to be installed globally:
$ npm install -g detail
Once installed, you can run the command detail
with path to your project as argument
$ detail /path/to/your/project
or
$ cd /path/to/your/project
$ detail
If you want to get details of a node module, you can run the command
$ detail /path/to/your/project moduleName
Or simply run the command detail
with -m
option:
$ detail -m moduleName
To get details of globally installed modules, simply use the -g
option:
$ detail -g moduleName
MIT