JSPM

password-handler

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q14547F
    • License MIT

    Check password strength and generate strong password

    Package Exports

    • password-handler
    • password-handler/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (password-handler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    This is a lightweight package that helps to check if password is strong or not and also create new strong password or based on your password

    USAGE:

    const { checkPasswordStrength, makeStrongPassword } = require("password-handler");
    
    const myPassword = checkPasswordStrength(<your_password>);
    console.log(myPassword);
    
    // Make your password strong
    const newPassword = makeStrongPassword(<your_password>)
    
    console.log(newPassword);
    
    // Or generate a new password
    const password = makeStrongPassword()
    
    console.log(password);