gulp-license-crawler
v0.0.10
Published
Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
Downloads
813
Maintainers
Readme
gulp-license-crawler
Usage
var licenseCrawler = require('gulp-license-crawler');
gulp.task('licenses', function() {
return licenseCrawler()
.pipe(gulp.dest('./licenses'))
});
Options
options.start
Type: Array<String>
Default value: [ .
]
Path to the directory the license search should start from. Multiple paths can be specified.
options.exclude
Type: Array<String>
Default Value: undefined
Path to a directory to be excluded (and its subdirectories) from the search. Multiple paths can be specified.
options.unknown
Type: Boolean
Default value: false
Only generate a list of licenses that can't be determined or have been guessed.
options.dependencies
Type: Boolean
Default value: false
Only generate a list of third-party licenses, i.e., only list the dependencies defined in package.json.
options.json
Type: String
Default Value: undefined
Export data as JSON to the given file path. Be cautious, the task will overwrite file if exists!
options.csv
Type: String
Default Value: undefined
Export data as CSV to the given file path. Be cautious, the task will overwrite file if exists!
options.omitVersion
Type: Boolean
Default value: false
Don't display versions in result (e.g. "[email protected]" becomes "npm-license-crawler")
options.onlyDirectDependencies
Type: Boolean
Default value: false
Show only direct dependencies licenses, i.e., don't list dependencies of dependencies.
options.relativeLicensePath
Type: Boolean
Default value: false
Output the relative file path for license files.
History
See Release History.
License
Copyright (c) 2016-2017, Marcus Wittig All rights reserved.