# @types/abbrev

> TypeScript definitions for abbrev

Latest version **1.1.5** (published 2023-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/abbrev
pnpm add @types/abbrev
yarn add @types/abbrev
bun add @types/abbrev
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2023-11-20 |
| First published | 2017-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.1.5 (latest) — 2023-11-20
- 1.1.2 (ts3.7) — 2021-09-26
- 1.1.1 (ts2.0) — 2019-10-09
- 1.1.4 — 2023-11-06
- 1.1.3 — 2023-10-17
- 1.1.0 — 2017-08-23

## README

# Installation
> `npm install --save @types/abbrev`

# Summary
This package contains type definitions for abbrev (https://github.com/isaacs/abbrev-js#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/abbrev.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/abbrev/index.d.ts)
````ts
export = abbrev;

declare function abbrev(words: readonly abbrev.Abbreviable[]): { [abbreviation: string]: string };
declare function abbrev(...words: readonly abbrev.Abbreviable[]): { [abbreviation: string]: string };

declare namespace abbrev {
    function monkeyPatch(): void;

    type Abbreviable = string | { toString(): string };
}

declare global {
    interface Array<T> {
        abbrev(): { [abbreviation: string]: string };
    }

    interface ReadonlyArray<T> {
        abbrev(): { [abbreviation: string]: string };
    }

    interface Object {
        abbrev(): { [abbreviation: string]: string };
    }
}

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:23 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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