kc-rndstr
v1.0.5
Published
[js] Random string.
Downloads
6
Readme
RNDStr
[js] Random string.
Install
npm install kc-rndstr
Use
var rndstr = require('kc-rndstr');
var len = 8; // String length (default: 8)
var char = 'ABCabc123'; // Characters to use (default: all alphanumeric)
var str = rndstr(len, char);
console.log(str);