# pokemon-node

> A simple RESTful API which gathers Pokemon stuff.

Latest version **1.0.0-fix2** (published 2018-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install pokemon-node
pnpm add pokemon-node
yarn add pokemon-node
bun add pokemon-node
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-fix2 |
| Published | 2018-03-26 |
| First published | 2018-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Striker |
| Maintainers | strikerrrr |
| Keywords | Pokemon, REST, API |

## Links

- npm: https://www.npmjs.com/package/pokemon-node
- Repository: https://github.com/Strikerrr/Pokemon-Node
- Homepage: https://github.com/Strikerrr/Pokemon-Node#readme
- Issues: https://github.com/Strikerrr/Pokemon-Node/issues
- npm.io page: https://npm.io/package/pokemon-node

## Dependencies (2)

- [eslint](https://npm.io/package/eslint.md) ^4.19.1
- [snekfetch](https://npm.io/package/snekfetch.md) ^3.6.4

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.0-fix2 (latest) — 2018-03-26
- 1.0.0-fix1 — 2018-03-26
- 1.0.0 — 2018-03-26

## README

# Pokemon-Node
An unofficial RESTful API that fetches data about Pokemon from [PokeAPI](https://pokeapi.co/)

# Methods
## GET Pokemon
```js
const PokemonNode = require('pokemon-node');
PokemonNode.getPokemon('charmander')
  .then((pokemon) => console.log(pokemon))
/*
  { name: 'charmander',
  weight: 85,
  sprites:
   { back_female: null,
     back_shiny_female: null,
     back_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/4.png',
     front_female: null,
     front_shiny_female: null,
     back_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/4.png',
     front_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/4.png',
     front_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/4.png' },
  height: 6,
  id: 4,
  types: [ 'fire' ],
  baseEXP: 62 
} */
  .catch((err) => console.error(err)) // Catches errors!
```

### Maintained and authored by Striker

---
_Source: https://npm.io/package/pokemon-node · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
