Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Latest commit

 

History

History
43 lines (33 loc) · 1.78 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.78 KB

API usage

Code Climate bitHound Score Codacy Badge Dependency Status

var supergenpass = require('supergenpass');

supergenpass(masterPassword, URI, password => {});

See the full API on the supergenpass-lib page. Note that the main export of this module is the .generate function of supergenpass-lib module.

Command line usage

$ supergenpass -p masterpassword uri
jbAMiW94YH

$ supergenpass -h
usage: supergenpass [-h] [-v] [-l LENGTH] [-m {md5,sha512}]
                    [-p PASSWORD] [--keepSubdomains] [--secret SECRET]
                    domain

SuperGenPass for command line and Node.js modules

Positional arguments:
  domain                Domain to generate the password for

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -l LENGTH, --length LENGTH
                        Length of the generated password
  -m {md5,sha512}, --method {md5,sha512}
                        Hash function to use
  -p PASSWORD, --password PASSWORD
                        Master password
  --keepSubdomains      Do not perform subdomain removal
  --secret SECRET       Additional secret password