Libraries & Licenses
Sometimes, we need to get license list for all used libraries. This is particularly important business.
In our case, we have Rails application with React frontend.
You can get list of all loaded gems with specs:
React (yarn and npm)
Yarn has this ability out of the box.
$ yarn licenses list
You will need to install
license-checker for npm:
$ npm install -g license-checker $ license-checker --csv --out licenses.csv --production