0.15.4 • Published 2 years ago

@types/legal-eagle v0.15.4

Weekly downloads
586
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for legal-eagle 0.15
// Project: https://github.com/atom/legal-eagle
// Definitions by: Jed Fox <https://github.com/j-f1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 16:23:40 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jed Fox.

0.15.4

2 years ago

0.15.2

2 years ago

0.15.3

2 years ago

0.15.1

4 years ago

0.15.0

8 years ago