Installation
npm install --save @types/legal-eagle
Summary
This package contains type definitions for legal-eagle (https://github.com/atom/legal-eagle).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/legal-eagle.
index.d.ts
declare function legalEagle(
options: legalEagle.Options,
cb: (err: Error | null, licenseSummary: legalEagle.LicenseLookup) => void,
): void;
declare namespace legalEagle {
interface Options {
path: string;
overrides?: LicenseLookup | undefined;
omitPermissive?: boolean | undefined;
}
interface LicenseLookup {
[id: string]: Entry;
}
interface Entry {
license: string;
source: string;
repository: string;
sourceText: string;
}
}
export = legalEagle;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Jed Fox.