2017-06-16 23:46:36 +03:00
|
|
|
# rnd-id
|
|
|
|
|
2017-09-05 23:21:44 +03:00
|
|
|
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg?style=flat-square)](https://opensource.org/licenses/MPL-2.0)
|
|
|
|
[![npm](https://img.shields.io/npm/v/rnd-id.svg?style=flat-square)](https://npmjs.com/package/rnd-id)
|
|
|
|
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
|
2017-06-16 23:46:36 +03:00
|
|
|
|
|
|
|
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
|