Retrieve the licenses for your project's dependencies:
const getLicenses = require('load-licenses') getLicenses(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:
- Within the module you want to test your local development instance of load-licenses, just link it to the dependencies:
npm link load-licenses. Instead of the default one from npm, node will now use your clone of the package!