node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

randomstring-extended

node.randomstring-extended

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

Installation

To install randomstring-extended, use npm:

$ npm install randomstring-extended

Usage

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

LICENSE

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