1.0.0 • Published 8 years ago

module-paths v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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!