module-paths

1.0.0 • Public • Published

module-paths

Load the paths of your dependencies:

Usage

import modulePaths from 'module-paths'
 
modulePaths(process.mainModule)

Contribute

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Link the package to the global module directory: npm link
  3. 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!

Package Sidebar

Install

npm i module-paths

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • leo
  • matheuss