get-licenses

look through your bower_components and node_modules folders to gather the license information about your installed libraries

Usage no npm install needed!

<script type="module">
  import getLicenses from 'https://cdn.skypack.dev/get-licenses';
</script>

README

Get Licenses

Get all of the licenses/license-info about the open source libraries you have installed.

npm install -g get-licenses

Single directory (will place the files in a licenses folder).

get_licenses node_modules

Multiple directories (will look for each directory and place the found files in the licenses folder).

get_licenses node_modules,app/bower_components

Multiple directories (will look for each directory and place the found files in your specified folder)

get_licenses node_modules,app/bower_components my_licenses