Thanks to visit codestin.com
Credit goes to github.com

Skip to content

svenstucki/legal-eagle-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legal Eagle command line tool

This library is a wrapper on legal-eagle library developed by Atom. It facilitates the process of creating aggregated license listing based on package.json dependencies.

Imgur

Getting started

npm install -g legal-eagle-cli

Features

  • Raw JSON output by default (or with -o json)
  • Optional CSV output with -o csv
  • Output is sorted by default
  • Package duplicates (e.g. two versions of same package) can be easily removed with -u flag (if the license is different for multiple package versions - all of them will be listed)
  • Templated based listing generation -o template -t templates/custom.html (see default template: templates/default.html)
  • Help always within reach --help

Tip for creating aggregated license listing from multiple projects

Let's say you have multiple projects sharing the same, common libraries. You would like to create an aggregated list of dependencies with their licenses. The way to do that is just setting up new node project with npm init and installing all your projects as a dependencies to it. The legal-eagle goes recursive through dependency dependencies so at the end you will see listing of all libraries used in your project(s).

License

MIT

About

A wrapper for legal-eagle, library for listing the licenses of any node project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published