0.0.0 • Published 10 years ago
resol v0.0.0
resol
Resolves node module names to an absolute path of that module's entry point.
Installation
Install via npm:
npm install resolUsage
You can resol a module name either via supplying names as arguments:
resol foo bar bazOr via stdin:
echo foo bar baz | resolWhen piping from stdin, resol will split lines on whitespace, so multiple module names per line may be present.
If the <module> can be found from the current path, its absolute path will be printed to stdout. If not, an error is printed to stderr and the process exits with a non-zero exit code.
0.0.0
10 years ago