# gen-uid

> Fast and simple uid generator

Latest version **0.0.2** (published 2014-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install gen-uid
pnpm add gen-uid
yarn add gen-uid
bun add gen-uid
```

## 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.2 |
| Published | 2014-08-30 |
| First published | 2014-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Pavel Silin |
| Maintainers | fi11 |
| Keywords | guid, id, guidv4, uid, token |

## Links

- npm: https://www.npmjs.com/package/gen-uid
- Repository: https://github.com/fi11/gen-uid
- Issues: https://github.com/fi11/gen-uid/issues
- npm.io page: https://npm.io/package/gen-uid

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2014-08-30
- 0.0.1 — 2014-08-28

## README

Fast and simple uid generator.

## Installation

```
$ npm install gen-uid
```

## Example

```js
var uid = require('gen-uid');

// guid v4
uid.v4() // -> 3bfb7707-ba36-48ef-ab30-ecca2bbb4b9a

// uniq token
uid.token()  // -> 26fed3d38f1a

// uniq short token
uid.token(true)  // -> 0c00e6b

```

## Authors

  - [Pavel Silin](https://github.com/fi11)

# License

  MIT

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