# random-uuid-v4

> A lightweight version 4 UUID generator.

Latest version **0.0.9** (published 2019-08-05) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install random-uuid-v4
pnpm add random-uuid-v4
yarn add random-uuid-v4
bun add random-uuid-v4
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2019-08-05 |
| First published | 2014-04-08 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | separate (@types/random-uuid-v4) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Michael Leaney |
| Maintainers | leahcimic |
| Keywords | uuid, guid, RFC4122 |

## Links

- npm: https://www.npmjs.com/package/random-uuid-v4
- Repository: https://github.com/leahciMic/uuid-v4
- Homepage: https://github.com/leahciMic/uuid-v4#readme
- Issues: https://github.com/leahciMic/uuid-v4/issues
- npm.io page: https://npm.io/package/random-uuid-v4

## 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.9 (latest) — 2019-08-05
- 0.0.8 — 2018-08-21
- 0.0.7 — 2018-06-21
- 0.0.6 — 2016-05-15
- 0.0.5 — 2015-06-24
- 0.0.4 — 2014-05-15
- 0.0.3 — 2014-04-09
- 0.0.2 — 2014-04-08
- 0.0.1 — 2014-04-08

## README

# random-uuid-v4

[![Build Status](https://travis-ci.org/leahciMic/random-uuid-v4.svg?branch=master)](https://travis-ci.org/leahciMic/random-uuid-v4)

```sh
npm i random-uuid-v4
```

A lightweight version 4 UUID generator. The code was originally taken from a
[stackoverflow answer](http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript)

Thanks [broofa](http://stackoverflow.com/users/109538/broofa)!

# Usage

```js
var uuid = require('random-uuid-v4');
var uuidv4 = uuid();
```

# Changelog
* 0.0.8 - Make jest a dev dependency
* 0.0.7 - Fix package name
        - Updated contributors
        - Use Jest
        - Travis badge
* 0.0.5 - Fix invalid uuids
        - Add test

# Contributors

* [leahciMic](https://github.com/leahciMic)
* [ArtskydJ](https://github.com/ArtskydJ)
* [TehShrike](https://github.com/TehShrike)
* [saibotsivad](https://github.com/saibotsivad)

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