Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

mstade/resol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resol

Resolves node module names to an absolute path of that module's entry point.

Installation

Install via npm:

npm install resol

Usage

You can resol a module name either via supplying names as arguments:

resol foo bar baz

Or via stdin:

echo foo bar baz | resol

When 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.


License

About

CLI for resolving node module paths

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published