1.0.4 • Published 1 year ago

@koc/generate-password v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago