1.0.0 • Published 3 years ago
@nikitababko/password-generator v1.0.0
Password generator · 
Installation
npm -
npm i @nikitababko/password-generatoryarn -
yarn add @nikitababko/password-generatorpnpm -
pnpm i @nikitababko/password-generator
Usage example
// ts import
import generatePassword from '@nikitababko/password-generator';
// js import
const generatePassword = require('@nikitababko/password-generator');
generatePassword({ length: 16 }) // [ 'ks3vaGA@?,798FM!' ]
generatePassword({ length: 16, quantity: 2 }) // [ '+q"]G322WMxi!E6d', "l@4W0Nzm3R4>Q~?r' ]Available options
| Name | Description | Default Value |
|---|---|---|
| length | Integer, password length | 16 |
| quantity | Integer, number of passwords | 1 |
| includeNumbers | Boolean, include numbers | true |
| includeLowerCaseChars | Boolean, include lowercase chars | true |
| includeUpperCaseChars | Boolean, include uppercase chars | true |
| includeSymbols | Boolean, include symbols | true |
| excludeSimilarChars | Boolean, exclude similar chars | false |
| excludeSequentialChars | Boolean, exclude sequential chars | false |
| excludeDuplicatesChars | Boolean, exclude duplicates chars | false |
| excludeAmbiguousChars | Boolean, exclude ambiguous chars | false |
| dontStartingWithANumber | Boolean, don't starting with a number | false |
| dontStartingWithASymbol | Boolean, don't starting with a symbol | false |
License
1.0.0
3 years ago
0.0.13
3 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.12
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.1-alfa.27
3 years ago
0.0.1-alfa.26
3 years ago
0.0.1-alfa.25
3 years ago