pokemon-base-stats
Get Pokémon base stats
The stats is returned as array like [HP, Attack, Defense, Sp.Attack, Sp.Defense, Speed].
Install
$ npm install --save pokemon-base-stats
Usage
const baseStats = baseStats// => [78, 84, 78, 109, 85, 100] baseStats// => [78, 130, 111, 130, 85, 100] baseStats// => [78, 84, 78, 109, 85, 100] baseStats// => [78, 130, 111, 130, 85, 100] baseStats// => [78, 84, 78, 109, 85, 100] baseStats// => [78, 130, 111, 130, 85, 100] baseStats// => ['base', 'megaY', 'megaX'] baseStats// => ['confined', 'unbound'] baseStats// => ['confined', 'unbound']
API
getById: { id, forme, lang = 'en' }
getByName: { name, forme, lang = 'en' }
getFormes: { id, name, lang = 'en' }
Supported languages
As it use pokemon under the hood, so do as the pokemon do:
de
(German)en
(English)fr
(French)ja
(Japanese)ko
(Korean)ru
(Russian)zh-Hans
(Simplified Chinese)zh-Hant
(Traditional Chinese)
License
MIT © dalphyx