# dsi-mongoose-auto-increment

> auto increment plugin for mongoose model

Latest version **0.0.0** (published 2016-12-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install dsi-mongoose-auto-increment
pnpm add dsi-mongoose-auto-increment
yarn add dsi-mongoose-auto-increment
bun add dsi-mongoose-auto-increment
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2016-12-22 |
| First published | 2016-12-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+7 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mushraful Hoque Anik |
| Maintainers | anikgnr |
| Keywords | dsi, mongoose, autoincrement, auto-increment |

## Links

- npm: https://www.npmjs.com/package/dsi-mongoose-auto-increment
- Repository: https://github.com/DSInnovators/dsi-mongoose-auto-increment
- Issues: https://github.com/DSInnovators/dsi-mongoose-auto-increment/issues
- npm.io page: https://npm.io/package/dsi-mongoose-auto-increment

## Dependencies (1)

- [mongoose](https://npm.io/package/mongoose.md) ^4.7.3

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.0 (latest) — 2016-12-22

## README

# DSi-Mongoose Auto-Increment


Mongoose plugin for auto-increment number ID.

## Install

```bash
npm install --save dsi-mongoose-auto-increment
```

## Usage

```js
var mongoose = require('mongoose');
var dincrement = require('dsi-mongoose-auto-increment');

//for global:
mongoose.plugin(dincrement);

//for individual model:
CustomSchema.plugin(dincrement);

//for custom property in your model:
CustomSchema.plugin(dincrement, {column: '_ColumnName_'});


```

## License

ISC © [Mushraful Hoque Anik]

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