Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 250 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 250 Bytes

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