LinkedIn Ad JetRockets
Non-tech founder’s guide to choosing the right software development partner Download Ebook
Home>Blog>Libraries & licenses

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.

Rails

You can get list of all loaded gems with specs:


Gem.loaded_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

Real Stories, Real Success

Do you have an idea? Launch it with us!
By submitting this form, you agree with JetRockets’ Privacy Policy