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.
- 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
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. |
npm install -g bower-license-tracker
- 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 )
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 |
bower-license-tracker --help
MIT