Skip to content

iantocristian/resolve-module-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Resolves a module as a directory

Resources

License

Stars

Watchers

Forks

Packages

No packages published