@iwezix/genpassword
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

GenPassword

GenPassword is a simple package to generate password.

Install

npm install @iwezix/genpassword --save

Usage

import { genPassword } from '@iwezix/genpassword';

const password = genPassword(true, true, 10, false);

// [ 'Anb3(4,c)C', '3l)9j-3hz7' ]
console.log(password);

Available options

Name Description
number Boolean, put numbers in password.
special Boolean, put symbols in password.
length Number, length of password.
capitalLetter Boolean, put capitals letters in password

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @iwezix/genpassword

    Weekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    3.42 kB

    Total Files

    4

    Last publish

    Collaborators

    • iwezix