1.2.9 • Published 6 years ago

bower-license-tracker v1.2.9

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

bower-license-tracker

npm.io npm.io

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

Updates

DateAuthorDescription
2018-03-16AmittKModule capable to find immediate or transitive dependencies.
2017-09-19AmittKCapability to generate the CSV files
2017-09-09AmittKModule 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)
APITypeDescription
pathstringPath to package.json in the project
isExcelbooleanFor 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