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