/fe-heroes

Retrieve a list of heroes in Fire Emblem Heroes

Primary LanguageJavaScriptMIT LicenseMIT

fe-heroes

Travis Coveralls branch license

Retrieve heroes from Fire Emblem Heroes.

Install

$ npm install --save fe-heroes

Usage

import feHeroes from 'fe-heroes';

const heroes = feHeroes.getAll();

console.log(heroes);

/*
[
    {
        name: 'Anna',
        title: 'Commander',
    },
    ...
]
*/

API

getAll()

Returns a Promise that resolves a list of heroes.

License

MIT © Vu Tran