Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 855 Bytes

README.md

File metadata and controls

46 lines (36 loc) · 855 Bytes

License Extractor

Extract licenses from project's external libraries (no extra dependencies).

Useful for Due Diligence purposes.

How to use

  1. As a module:
    1. Install
    $ npm i simple-license-extractor
    1. Use
    const licenseExtractor = require('simple-license-extractor');
    licenseExtractor('/development/my-awesome-project')
    	.then(console.log)
    	.catch(console.error);
  2. As a CLI tool:
    1. Install
    $ npm i -g simple-license-extractor
    1. Use
    # To run in the directory you are currently in
    $ simple-license-extractor
    
    # To run in a different directory
    $ simple-license-extractor ~/Development/my-awesome-project

Types currently supported

  • npm
  • bower

Features coming soon

  • csv extraction
  • maven type support

Changelog

here