Skip to content

ralphtheninja/node-twofactorauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twofactorauth

Aggregates _data in twofactorauth.

$ npm i twofactorauth [-S|-g]

Build Status dependencies

Usage

Exports an object where websites property is an aggregated array with website meta data. With the addition that each entry in the array, also has category attached to it, based on the file name it was extracted from. E.g. all entries from _data/backup.yml will have the category property set to "backup".

console.log(require('twofactorauth'))

outputs:

{
  "websites": [
    {
      "name": "AeroFS",
      "url": "https://www.aerofs.com/",
      "tfa": "Yes",
      "software": "Yes",
      "img": "aerofs.png",
      "doc": "https://blog.aerofs.com/two-factor-authentication-for-hybrid-and-private-cloud/",
      "category": "backup"
    },
    {
      "name": "Apple iCloud",
      "url": "https://www.icloud.com",
      "img": "icloud.png",
      "tfa": "Yes",
      "sms": "Yes",
      "software": "Yes",
      "exceptions": {
        "text": "See http://support.apple.com/kb/HT5593 for a list of supported SMS carriers."
      },
      "doc": "http://support.apple.com/kb/ht5570",
      "category": "backup"
    },
    ..
  ]
}

You can also install it globally and get the data directly to stdout.

$ npm i twofactorauth -g
$ twofactorauth

License

MIT