module-paths
v1.0.0
Published
Load the paths of your dependencies
Downloads
22
Readme
module-paths
Load the paths of your dependencies:
Usage
import modulePaths from 'module-paths'
modulePaths(process.mainModule)
Contribute
- Fork this repository to your own GitHub account and then clone it to your local device
- Link the package to the global module directory:
npm link
- Within the module you want to test your local development instance of module-paths, just link it to the dependencies:
npm link module-paths
. Instead of the default one from npm, node will now use your clone of module-paths!