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