# @types/random-seed

> TypeScript definitions for random-seed

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

## Install

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

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.3.5 |
| Published | 2023-11-07 |
| First published | 2016-11-22 |
| 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 | 51442 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.3.5 (latest) — 2023-11-07
- 0.3.3 (ts2.0) — 2017-12-11
- 0.3.4 — 2023-10-18
- 0.3.2 — 2017-01-13
- 0.3.1 — 2016-12-16
- 0.3.0 — 2016-11-22

## README

# Installation
> `npm install --save @types/random-seed`

# Summary
This package contains type definitions for random-seed (https://github.com/skratchdot/random-seed/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/random-seed.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/random-seed/index.d.ts)
````ts
export interface RandomSeed {
    (range: number): number;
    range(range: number): number;
    random(): number;
    floatBetween(min: number, max: number): number;
    intBetween(min: number, max: number): number;

    string(count: number): string;
    seed(seed: string): void;

    cleanString(inStr: string): string;
    hashString(inStr: string): string;

    addEntropy(...args: any[]): void;
    initState(): void;

    done(): void;
}

export function create(seed?: string): RandomSeed;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Endel Dreyer](https://github.com/endel).

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