Pokedex Promise V2 Versions Save

An easy way to use pokeapi v2 with promises in node.js

4.1.1

1 year ago

Types:

  • Update types to match latest schema on PR #72

4.1.0

1 year ago

Core:

  • Cleanup the code, reduces nesting with less ifs, it also checks for an array and not an object
  • Update to the latest api-docs and made the necessary changes on the types generator to accomodate that
  • Reject the promise on Getter error

Types:

  • Overloads on all methods and callbacks, so if you pass an array it will know to return an array too

Tests:

  • Changes the tests to use overloads

Chores:

  • Update dependencies
  • Bump version to 4.1.0
  • Bump minimum node version to 14

4.0.0

2 years ago

Core

  • Switched to Typescript
  • Add generator to generate types
  • Bundle types
  • Require node >=12
  • Conversion to ESM
  • Update all dependencies

CI/CD

  • Move from Travis to Github Actions
  • Adopt eslint

3.3.2

2 years ago
  • bump minimum node version to node 10
  • update p-map

3.3.1

2 years ago

3.3.0

3 years ago
  • Added methods to clear the cache and to retrieve its size
  • Changed how limit works