# @nacho-cs/quuid

> A tiny library for generating secure ids

Latest version **1.0.1** (published 2023-03-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install @nacho-cs/quuid
pnpm add @nacho-cs/quuid
yarn add @nacho-cs/quuid
bun add @nacho-cs/quuid
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-03-25 |
| First published | 2023-03-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | nacho-cs |
| Maintainers | nacho-cs |
| Keywords | uuid, id, random |

## Links

- npm: https://www.npmjs.com/package/@nacho-cs/quuid
- Repository: https://github.com/nacho-cs/quuid
- Homepage: https://github.com/nacho-cs/quuid#readme
- Issues: https://github.com/nacho-cs/quuid/
- npm.io page: https://npm.io/package/@nacho-cs/quuid

## 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.1 (latest) — 2023-03-25
- 1.0.0 — 2023-03-25

## README

# quuid

![quuid definition](./Screenshot%202023-03-25%20at%2010-10-35%20quid%20-%20Google%20Search.png)
(or Quick Unique Url IDs)

## A tiny library for generating secure ids

### You can generate:

- rfc4122 v1-compliant UUIDs
- rfc4122 v4-compliant UUIDs
- Cryptographically secure, url-safe, ids of any byte length
- Short rfc4122 v4-compliant UUIds

## Installation:

Run:

```console
$ npm i quuid
```

For ES6:

```js
import uuid from "quuid";
```

## Usage:

Just use the constructor `uuid` and add whatever id you want after

```js
import uuid from "quuid";

console.log(new uuid().v1()); // returns v1 uuids

console.log(new uuid().v4()); // returns v4 uuids

console.log(new uuid().id(8)); // returns an 8 byte id in base 36

console.log(new uuid().short()); // returns short v4 uuids
```

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