37 lines
787 B
Markdown
37 lines
787 B
Markdown
|
# rnd-id
|
||
|
|
||
|
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
|
||
|
[![npm](https://img.shields.io/npm/v/rnd-id.svg)](https://npmjs.com/package/rnd-id)
|
||
|
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg)](https://github.com/RichardLitt/standard-readme)
|
||
|
|
||
|
Generate a random alphabetical string.
|
||
|
|
||
|
## Table of Contents
|
||
|
|
||
|
- [Install](#install)
|
||
|
- [Usage](#usage)
|
||
|
- [License](#license)
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```
|
||
|
yarn add --dev rnd-id
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const rndId = require('rnd-id');
|
||
|
|
||
|
console.log(rndId()) // kbtpZ
|
||
|
console.log(rndId()) // cuBuLn
|
||
|
console.log(rndId()) // sPwzn
|
||
|
console.log(rndId()) // kKUko
|
||
|
console.log(rndId()) // czzpgR
|
||
|
console.log(rndId()) // cjtzdI
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
MPL-2.0
|