1.1.1 • Published 3 years ago

uniq-password v1.1.1

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

uniq-password

Utility function for generating uniq password, can be used by Node.js or browser.

Installation

$ npm install uniq-password --save

or

$ yarn add uniq-password

Usage

import { generatePassword } from "uniq-password";

or

const { generatePassword } = require("uniq-password");
const password = generatePassword({ length: 10 });

console.log(password); // gLk7C_ycv3

Available options

NameDescriptionRequiredDefault Value
lengthSize of result stringfalse16
withLowerLettersShould include [a-z]falsetrue
withUpperLettersShould include [A-Z]falsetrue
withNumbersShould include 0123456789falsetrue
withSymbolsShould include !@#$%^&*(){}=_-falsetrue
1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago