JSPM

createpassword

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q24165F
    • License ISC

    This will convert a dash, dot, underscore, space and separated string to regularCase: node-js : nodeJs

    Package Exports

    • createpassword

    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 (createpassword) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Install

    $ npm install --save createpassword

    Usage

    Default settings (easy 10 letters)

    createPassword() // -> hjuikolpaq

    WCustom length not easy

    createPassword(12, false) // -> 87Ik98uREG1

    Characters should match a pattern

    createPassword(12, false, /\d/) // -> 435678987671

    Customize the password prefix

    createPassword(12, false, /\d/, 'pass-') // -> pass-6754329