Installation
npm install --save @types/npm-license-crawler
Summary
This package contains type definitions for npm-license-crawler (https://github.com/mwittig/npm-license-crawler).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npm-license-crawler.
export interface License {
licenses: string;
licenseUrl: string;
parents: string;
repository: string;
}
export interface Licenses {
[repository: string]: License;
}
export interface CrawlerOptions {
csv?: string | undefined;
dependencies?: boolean | undefined;
development?: boolean | undefined;
exclude?: string | string[] | undefined;
json?: string | undefined;
omitVersion?: boolean | undefined;
onlyDirectDependencies?: boolean | undefined;
production?: boolean | undefined;
relativeLicensePath?: boolean | undefined;
start: string | string[];
unknown?: boolean | undefined;
noColor?: boolean | undefined;
}
export type Callback = (error: Error | null, licenses: Licenses) => void;
export function dumpLicenses(args: CrawlerOptions, callback: Callback): void;
Additional Details
- Last updated: Thu, 08 Jul 2021 18:51:38 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Florian Keller.