# @types/legal-eagle

> TypeScript definitions for legal-eagle

Latest version **0.15.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/legal-eagle
pnpm add @types/legal-eagle
yarn add @types/legal-eagle
bun add @types/legal-eagle
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.15.4 |
| Published | 2023-11-07 |
| First published | 2018-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51360 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/legal-eagle
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/legal-eagle
- npm.io page: https://npm.io/package/@types/legal-eagle

## Recent versions

- 0.15.4 (latest) — 2023-11-07
- 0.15.2 (ts4.3) — 2023-08-30
- 0.15.1 (ts3.6) — 2021-07-08
- 0.15.0 (ts2.0) — 2018-01-07
- 0.15.3 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/legal-eagle/index.d.ts)
````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](https://github.com/j-f1).

---
_Source: https://npm.io/package/@types/legal-eagle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
