magicword
Generate a password of any length with several composability options (CLI)
Last updated 5 years ago by ricardomatias .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install magicword 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.1                                ...           latest (5 years ago)

5 Versions

  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 10
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |