Class Telepathy
Defined in: telepathy.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Telepathy(options)
Telepathy constructor
|
Method Attributes | Method Name and Description |
---|---|
password(options)
Generate a password
|
|
setSecret(secret)
Set the private secret we'll be using in generating passwords
|
Method Detail
{string}
password(options)
Generate a password
var telepathy = new Telepathy('secret'); console.log(telepathy.password('google.com'));
- Parameters:
- {object|string|number} options Optional
- Returns:
- {string} Generated password
setSecret(secret)
Set the private secret we'll be using in generating passwords
- Parameters:
- {string} secret