1.1.1 • Published 9 years ago

magicword v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

magicword Build Status

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 or u - Uppercase letters
  • lower or l - Lowercase letters
  • numbers or n - Numbers
  • symbols or s - 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