PokeAPI / pokedex-promise-v2

An easy way to use pokeapi v2 with promises in node.js
MIT License
510 stars 89 forks source link

Will this work with a pure client app or a node backend is a must? #25

Closed nitish24p closed 7 years ago

nitish24p commented 7 years ago

Can i use it in my react app directly, or a node backend is a must..

Naramsim commented 7 years ago

We use Webpack with target: 'node'. So you must run it on a server 💢

I will try to implement a version usable in browsers.

Naramsim commented 7 years ago

Moreover, we use memory-cache to cache calls, which works only with node.

Naramsim commented 7 years ago

@nitish24p several months ago we implemented https://github.com/PokeAPI/pokeapi-js-wrapper, which was what you are looking for