1.1.1 • Published 9 years ago
magicword v1.1.1
magicword
Generate a password of any length with several composability options (CLI)
Requirements
- node.js
CLI
npm install -g magicword
magicword
> Rx<4=B7%z
magicword 15
> t$$:n6g&mesEG$I
magicword 15 --upper --numbers
> 71V48N434K6VUBE
magicword 10 -s -l
> %;k#r=$uik
Flags
upper
oru
- Uppercase letterslower
orl
- Lowercase lettersnumbers
orn
- Numberssymbols
ors
- Symbols
Usage
npm install magicword
var magicword = require('magicword');
var pw = magicword({ upper: true, lower: true });
console.log(pw) // OWJbtVhxr
API
magicword(passwordLength, options)
passwordLength: (Number) options: { upper, lower, numbers, symbols } (Properties -> Boolean)
License
MIT © Ricardo Matias