npm-license-scraper is a wrapper around npm-license-crawler to download and export text of licenses for your project's dependencies in JSON format.
npm i -g npm-license-scraper
- Run
npm-license-scraper
in your project folder to generate a JSON file containing the full text of licenses used by your project's dependencies.