# @types/mongoose-auto-increment

> TypeScript definitions for mongoose-auto-increment

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

## Install

```sh
npm install @types/mongoose-auto-increment
pnpm add @types/mongoose-auto-increment
yarn add @types/mongoose-auto-increment
bun add @types/mongoose-auto-increment
```

## 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 | 5.0.38 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51432 |
| Maintainers | types |

## Links

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

## Dependencies (2)

- [mongoose](https://npm.io/package/mongoose.md) ^6.3.0
- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 5.0.38 (latest) — 2023-11-07
- 5.0.35 (ts4.1) — 2022-04-24
- 5.0.34 (ts3.6) — 2021-06-01
- 5.0.33 (ts3.2) — 2020-04-24
- 5.0.32 (ts3.0) — 2019-10-03
- 5.0.31 (ts2.8) — 2019-07-19
- 5.0.30 (ts2.3) — 2017-06-07
- 5.0.29 (ts2.0) — 2016-09-19
- 5.0.37 — 2023-10-18
- 5.0.36 — 2023-09-27
- 5.0.28 — 2016-07-14
- 5.0.27-alpha — 2016-07-08
- 5.0.26-alpha — 2016-07-04
- 5.0.25-alpha — 2016-07-02
- 5.0.24-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/mongoose-auto-increment/versions

## README

# Installation
> `npm install --save @types/mongoose-auto-increment`

# Summary
This package contains type definitions for mongoose-auto-increment (https://github.com/codetunnel/mongoose-auto-increment).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-auto-increment.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-auto-increment/index.d.ts)
````ts
import { Connection, Mongoose, Schema } from "mongoose";

/**
 * Initialize plugin by creating counter collection in database.
 */
declare function initialize(connection: Connection): void;

/**
 * The function to use when invoking the plugin on a custom schema.
 */
declare function plugin(schema: Schema, options: Object): void;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [mongoose](https://npmjs.com/package/mongoose)

# Credits
These definitions were written by [Aya Morisawa](https://github.com/AyaMorisawa).

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