# @types/mongoose-simple-random

> TypeScript definitions for mongoose-simple-random

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

## Install

```sh
npm install @types/mongoose-simple-random
pnpm add @types/mongoose-simple-random
yarn add @types/mongoose-simple-random
bun add @types/mongoose-simple-random
```

## 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.4.13 |
| Published | 2023-11-07 |
| First published | 2017-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 0.4.13 (latest) — 2023-11-07
- 0.4.10 (ts4.1) — 2022-04-24
- 0.4.9 (ts3.6) — 2021-06-01
- 0.4.8 (ts3.2) — 2020-04-24
- 0.4.7 (ts3.0) — 2020-04-13
- 0.4.5 (ts2.8) — 2019-07-19
- 0.4.4 (ts2.3) — 2017-11-09
- 0.4.3 (ts2.0) — 2017-09-27
- 0.4.12 — 2023-10-18
- 0.4.11 — 2023-09-27
- 0.4.6 — 2019-10-03
- 0.4.2 — 2017-09-07
- 0.4.1 — 2017-06-30
- 0.4.0 — 2017-06-26

## README

# Installation
> `npm install --save @types/mongoose-simple-random`

# Summary
This package contains type definitions for mongoose-simple-random (https://github.com/larryprice/mongoose-simple-random).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-simple-random.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-simple-random/index.d.ts)
````ts
import mongoose = require("mongoose");
declare function pluginFunc(schema: mongoose.Schema): void;
declare namespace pluginFunc {}
export = pluginFunc;

declare module "mongoose" {
    interface Model<T> extends NodeJS.EventEmitter {
        findRandom(
            conditions: Object,
            projection?: Object | null,
            options?: Object | null,
            callback?: (err: any, res?: T[]) => void,
        ): 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 [TypeScript Bot](https://github.com/typescript-bot).

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