@types/legal-eagle
TypeScript icon, indicating that this package has built-in type declarations

0.15.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/legal-eagle

Weekly Downloads

1,342

Version

0.15.4

License

MIT

Unpacked Size

3.62 kB

Total Files

5

Last publish

Collaborators

  • types