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

Categories:

Discover the Products We’ve Developed

Let's Build Something Great Together

Let's discuss your project and explore how a Rails upgrade can become your competitive advantage. Contact us today to start the conversation.

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