Skip to content

bower-license-tracker will track all the bower dependencies and their corrosponding licenses. The module will generate the JSON file with all meta information about bower packages and copy corrosponding license files

License

amittkSharma/bower-license-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bower-license-tracker

bower-license-tracker will track all the bower dependencies and their corrosponding licenses. The module will generate the JSON file with all meta information about bower packages and copy corrosponding license files in a directory named "bower_licenses". This new folder will be created under the same project directory.

Features

  • Creation of JSON file with meta information about licenses
  • Copying license files
  • Creation of CSV file with meta information for Audit purpose
  • Find immediate and transitive dependencies

Updates

Date Author Description
2018-03-16 AmittK Module capable to find immediate or transitive dependencies.
2017-09-19 AmittK Capability to generate the CSV files
2017-09-09 AmittK Module to track bower dependencies with all meta information and license files.

Installing via Npm

npm install -g bower-license-tracker

Usage

  • Install the module using: npm install -g bower-license-tracker
  • On command line, execute the command: bower-tracker "Path to bower.json"
  • To generate CSV, execute the command: bower-tracker "Path to bower.json" true || false (default value is false )

Api Usage

npm install bower-license-tracker
var licenseChecker = require('bower-license-tracker/src');
var options = {
  path: 'C:\\Workspace\\DEMO_PROJECT',
  isExcel: true
}
licenseChecker.run(options)
API Type Description
path string Path to package.json in the project
isExcel boolean For generating CSV file, default value is false

Example of license JSON so produced by app

Alt text

Command line help

bower-license-tracker --help

License

MIT

About

bower-license-tracker will track all the bower dependencies and their corrosponding licenses. The module will generate the JSON file with all meta information about bower packages and copy corrosponding license files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published