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

Discover More Reads

Real Stories & Real Success

Do you have a tech idea?

Let’s talk!

By submitting this form, you agree with JetRockets’ Privacy Policy

If you prefer email, write to us at hello@jetrockets.com