# @types/uniqid

> TypeScript definitions for uniqid

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

## Install

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

## 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.3.4 |
| Published | 2023-11-07 |
| First published | 2017-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

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

## Recent versions

- 5.3.4 (latest) — 2023-11-07
- 5.3.2 (ts3.8) — 2021-12-16
- 5.3.1 (ts3.6) — 2021-07-09
- 5.3.0 (ts3.4) — 2021-03-01
- 5.2.0 (ts2.9) — 2020-05-13
- 4.1.3 (ts2.0) — 2019-02-14
- 5.3.3 — 2023-10-18
- 4.1.2 — 2017-09-07
- 4.1.1 — 2017-08-21
- 4.1.0 — 2017-08-09

## README

# Installation
> `npm install --save @types/uniqid`

# Summary
This package contains type definitions for uniqid (https://github.com/adamhalasz/uniqid).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uniqid.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uniqid/index.d.ts)
````ts
// Commmon function signature
declare function f(prefix?: string, suffix?: string): string;

// let x -> Workaround for ES6 imports
// Combined type because of assigning to function object in original module
declare let x: typeof f & { process: typeof f } & { time: typeof f };

export = x;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [idchlife](https://github.com/idchlife), and [onomatopoetry](https://github.com/onomatopoetry).

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