resolve-module-directory
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
Resolves a module as a directory
var resolve = require(resolve-module-dir);
console.log(resolve('module-name')); // /path/to/module-name
CLI
$ resolve-dir module-name
> /path/to/module-name