Skip to content

Gulp plugin for npm-license-crawler. Analyzes license information for multiple node.js modules (package.json files) as part of your software project.

License

Notifications You must be signed in to change notification settings

mwittig/gulp-license-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-license-crawler

Npm Version Build Status Dependency Status

Description Analyzes license information for multiple node.js modules (package.json files) as part of your software project.
Node Version >= 4.0

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. "npm-license-crawler@0.1.5" 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-2019, Marcus Wittig All rights reserved.

BSD-3-Clause License

About

Gulp plugin for npm-license-crawler. Analyzes license information for multiple node.js modules (package.json files) as part of your software project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published