Node-pokeapi

I built a simple node.js client for fetching Pokémon data from pokeapi.co. You can run it on the server as well as in a browser, although in the latter case you’d need to direct the requests through a proxy on your origin server.

PokeApi = require 'pokeapi'
api = PokeApi.v1()

api.get('pokemon', 1).then (bulbasaur) ->
    api.get(bulbasaur.moves).then (moves) ->
        console.log 'here the move list for', bulbasaur.name
        console.log move.name for move in moves
.fail (err) ->
    console.log err

Get the npm here, or check out the code here.