Retrieve the licenses for your project's dependencies:
import licenses from 'load-licenses'
licenses(process.mainModule)
- 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 load-licenses, just link it to the dependencies:
npm link oad-licenses
. Instead of the default one from npm, node will now use your clone of load-licenses!