randomstring-extended

A module for generating random strings

npm install randomstring-extended
2 downloads in the last day
3 downloads in the last week
6 downloads in the last month

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.

npm loves you