1.0.7 • Published 10 years ago

unown v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Unown

Node library to easily find information about pokemon data, based on data provided by PokeApi.

npm version npm downloads

Installation

To install, simply run

npm install --save unown

Usage

Most of the usage is enforced by the typescript declaration. Currently there are 3 main methods implemented:

import * as unown from 'unown'

unown.findPokemon(1) // { id: 1, identifier: 'bulbasaur', ... }
unown.findMove(1)    // { id: 1, identifier: 'pound', type: { identifier: 'normal', ... } ... }

const bulba = unown.findPokemon(1)
const ember = unown.findMove(52)
unown.typeEfficacy(ember.type, bulba.types[0]) // fire, grass => 200
1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago