resolve-module-directory
v1.0.0
Published
Resolve a module as a directory
Downloads
4
Maintainers
Readme
resolve-module-dir
Resolves a module as a directory
Usage
var resolve = require(resolve-module-dir);
console.log(resolve('module-name')); // /path/to/module-name
CLI
$ resolve-dir module-name
> /path/to/module-name