Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it ?

generation-passwordjs is a library for generating random password.

Install

$ npm install generation-passwordjs

Usage

generatePassword({options})

Generate one password with the given options. Returns a string.

import generatePassword from 'generation-passwordjs';

let password = generatePassword({
  characterAmount: 12,
  includeUppercase: true,
  includeNumbers: true,
  includeSymbols: true,
});

Options

Any of these can be passed into the options object for each function.

Name Description Default Value
characterAmount amount of charcters in password. 10
includeUppercase use the uppercase letters in password. false
includeNumbers use the digits in password. true
includeSymbols use the symbols in password. false

About

generate-random-password is a library for generating random and unique password.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages