# random-guid

> Generate a random GUID

Latest version **0.1.4** (published 2015-05-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install random-guid
pnpm add random-guid
yarn add random-guid
bun add random-guid
```

## 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.1.4 |
| Published | 2015-05-29 |
| First published | 2015-04-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sven Anders Robbestad |
| Maintainers | svenanders |
| Keywords | random, guid |

## Links

- npm: https://www.npmjs.com/package/random-guid
- Repository: git@github.com:svenanders/random-guid
- Homepage: https://www.robbestad.com
- Issues: https://github.com/svenanders/random-guid/issues
- npm.io page: https://npm.io/package/random-guid

## Dependencies (1)

- [MD5](https://npm.io/package/MD5.md) ^1.2.1

## 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.1.4 (latest) — 2015-05-29
- 0.1.3 — 2015-05-29
- 0.1.2 — 2015-05-29
- 0.1.1 — 2015-05-29
- 0.0.8 — 2015-05-15
- 0.0.5 — 2015-05-06
- 0.0.3 — 2015-04-28
- 0.0.2 — 2015-04-28
- 0.0.1 — 2015-04-24

## README

# random-guid

# CONTRIBUTING

When making edits, please edit _index.es6_. _index.js_ will be generated automatically when you run _make test_.

### randomString([string salt])

Generate a random string 

### randomGuid([int numberOfBlocks, [int blockLength, [string salt]]])

Generate a random guid, separated with dashes. 

## Usage
var randomGuid = require("random-guid")
    .randomGuid;

### domSafeRandomGuid([int blocks])

Generate a guid that is tested unique against id's on the current doc.

## Usage
var domSafeRandomGuid = require("random-guid")
    .domSafeRandomGuid;

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