Skip to content

janoskk/node-randomstring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-randomstring Build Status

Installation

To install randomstring, use npm:

npm install randomstring-ng --save

Usage

var randomstring = require("randomstring-ng");

randomstring.generate();
// >> "XwPp9xazJ0ku5CZnlmgAx2Dld8SHkAeT"

randomstring.generate(7);
// >> "xqm5wXX"

randomstring.generate(9, "0123456789abcdefghiklmnopqrstuvwxyz");
// >> "hf752sd9j"

Tests

npm install
npm test

Command Line Usage

$ npm install -g randomstring-ng

$ randomstring
sKCx49VgtHZ59bJOTLcU0Gr06ogUnDJi

$ randomstring 7
CpMg433

LICENSE

node-randomstring is licensed under the MIT license.

About

A node.js module for generating random strings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%