randomstring-extended

A module for generating random strings

node.randomstring-extended

This is based on node-randomstring. It added more chars including spaces.

To install randomstring-extended, use npm:

$ npm install randomstring-extended
var randomstring = require("randomstring-extended");
 
randomstring.generate();
// >> "XwPp9xazJ0ku5CZnlmgAx2Dld8SHkAeT" 
 
randomstring.generate(7);
// >> "xqm5wXX" 

node-randomstring-extended is licensed under the MIT license.