# uuid-extra

> Uniqueness and Randomness combined

Latest version **1.0.7** (published 2021-01-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install uuid-extra
pnpm add uuid-extra
yarn add uuid-extra
bun add uuid-extra
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2021-01-25 |
| First published | 2018-03-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | gggauravgandhi |
| Maintainers | gggauravgandhi |
| Keywords | uuid, extra, uniqueness, randomness |

## Links

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

## Dependencies (1)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2

## 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

- 1.0.7 (latest) — 2021-01-25
- 1.0.6 — 2021-01-25
- 1.0.5 — 2018-03-19
- 1.0.3 — 2018-03-19
- 1.0.2 — 2018-03-19
- 1.0.1 — 2018-03-19
- 1.0.0 — 2018-03-19

## README

# uuid-extra
[![Build Status](https://travis-ci.org/gggauravgandhi/uuid-extra.svg?branch=master)](https://travis-ci.org/gggauravgandhi/uuid-extra)

Uniqueness and Randomness combined

Using UUID library, combining Uniqueness(uuidv1) and Randomness(uuidv4), trying to get randomly unique solution to generate universally unique identifier. 


## Install

### NPM
```sh
npm install uuid-extra
```


## how to use 

### `ex14()`
First extra function which combines the `uuidv1` and `uuidv4` output and uses `Math.random` for selecting bits and generates 

```js
const uuidex = require('uuid-extra');

console.log(`EX14: ${uuidex.ex14()}`);
```

### `v1()`
Original `uuidv1` function

```js
const uuidex = require('uuid-extra');

console.log(`V1: ${uuidex.v1()}`);
```

### `v4()`
Original `uuidv4` function

```js
const uuidex = require('uuid-extra');

console.log(`V4: ${uuidex.v4()}`);
```


**Note:** All the credits goes to original UUID [[Github](https://github.com/kelektiv/node-uuid "Github"), [NPM](https://www.npmjs.com/package/uuid "NPM")] for such useful module.

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