simple-rand-str
v1.0.3
Published
Generate Random String
Downloads
4
Readme
Generate random string
Install
npm i simple-rand-str
Use
let r = require('simple-rand-str');
r.generate();
Output:
$ node index.js
$ 35LFm81u9w
You can set the string length
r.generate(10);
Output:
$ node index.js
$ XMoWxkeJr85JfDdIhaq7