README of an installed NPM module in its default application.
This script conflicts with the readme module, as they use the same script name. The difference is that this script will open the default application.
README files are written in Markdown.
If on OS X, I recommend Marked.
There are also many Markdown viewers available in the Chrome Web Store.
This is a command-line application and should be installed globally.
npm install -g readme
Open the README of an installed NPM module in its default application.If no MODULE_NAME specified, tries to open the first README it can find.readme [-d|--deep] [-s|--shallow] [-v|--verbose] [-g|--global] [MODULE_NAME]Options:-d, --deep Dig into dependencies of dependencies [default: true]-s, --shallow Look only in the current project's dependencies-v, --verbose Enable useless information-h, --help You're reading it.-g, --global Search global modules
README is found in a format other than Markdown, the default application for its extension (or lack thereof) will be opened.
--shallowdo nothing if no