1.0.4 • Published 2 years ago

@koc/generate-password v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

generatePassword Tests npm version

NPM

Install

λ npm install @koc/generate-password --save

Usage

generatePassword({options})

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

const {generatePassword} = require('@koc/generate-password');
//import {generatePassword} from '@koc/generate-password';

const password = generatePassword({
  length: 10,
});

// t%0YA!5k#S

Options

NameDescriptionDefault Value
lengthInteger, length of password.8
allowedSymbolsString, put symbols in password.!@#$%&
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago