Skip to content
DeityhubPublic

About

Random character generator

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Charand

A simple node package that generates random character of any given length

install

install with npm:

$ npm install charand --save

usage

//require the package
var random = require('charand');

methods

//random lowercase alphanumeric characters
lowGen(length);

//random uppercase alphanumeric characters
highGen(length);

//random alphanumeric characters(both uppercase and lowercase)
allGen(length);

//random characters in various forms, special characters inclusive
charGen(length);
  • length{Number}: (optional) The default value is 15.

example

  1. Calling a method without any parameter:
random.lowGen();
//returns the default 15 random characters
//=>"hjuekshg35hst61" 
  1. Calling a method with a parameter{length}:
random.allGen(9);
//returns 9 random characters
//=>"xc@#RA_l8"

password

This node package can also be utilized in the creation of strong passwords. By making use of the allGen method

what next?

lets meet on twitter for more updates

About

Random character generator

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages