0.16.0 • Published 6 years ago

legal-eagle v0.16.0

Weekly downloads
1,869
License
MIT
Repository
github
Last release
6 years ago

Legal Eagle Build Status

A library for listing the licenses of an npm module's dependencies.

Basic Usage

Provide the path to the module in question and a callback. Your callback will be passed a hash with the name@version of each dependency as a key and its license, source, and sourceText.

legalEagle = require 'legal-eagle'

legalEagle {path: process.cwd()}, (err, summary) ->
  return console.error(err) if err?
  console.log(summary)

Optional Parameters

Omit Permissive Licenses

Pass omitPermissive: true in the params hash to only list unknown or non-permissive licenses in the summary.

License Overrides

If you know the license of a given dependency but this library can't automatically determine it, pass an overrides hash with its name@version as the key and the license, source and sourceText you want to use in the summary.

License

MIT

0.16.0

6 years ago

0.15.0

7 years ago

0.14.0

7 years ago

0.13.0

9 years ago

0.12.0

9 years ago

0.11.0

9 years ago

0.10.0

9 years ago

0.9.0

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago