joyent-portal/packages/rnd-id/README.md

841 B

rnd-id

License: MPL 2.0 npm standard-readme compliant

Generate a random alphabetical string.

Table of Contents

Install

yarn add --dev rnd-id

Usage

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