# nice-random-id-generator

> Random id generator

Latest version **0.1.1** (published 2018-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install nice-random-id-generator
pnpm add nice-random-id-generator
yarn add nice-random-id-generator
bun add nice-random-id-generator
```

## 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.1 |
| Published | 2018-12-21 |
| First published | 2018-12-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tom Klinovsky |
| Maintainers | lutraman |

## Links

- npm: https://www.npmjs.com/package/nice-random-id-generator
- npm.io page: https://npm.io/package/nice-random-id-generator

## Recent versions

- 0.1.1 (latest) — 2018-12-21
- 0.1.0 — 2018-12-21

## README

# nice-random-id-generator

## Installation

```bash
npm i --save nice-random-id-generator
```

## Usage

```js
const generateRandomId = require('nice-random-id-generator');

generateRandomId(); // 'OAeB04QI'
generateRandomId({ prefix: 'id-' }) // 'id-oPFbLzsG'
generateRandomId({ prefix: 'id-', length: 15 }) // 'id-T+5x8FlhpaES8NN'
generateRandomId({ prefix: 'id-', length: 15, character_set: 'base64url' }) // 'id-AAtjeXc_UQJqOFW'
```

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