nextjs-koa-api

Koa.js framework setup to run within Next.js API routes.

MIT License

Downloads
5.5K
Stars
10
Committers
3

Bot releases are visible (Hide)

nextjs-koa-api - [email protected] Latest Release

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 091c740: update TS types for attachRouter router argument.
nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 87585cd: update function attachRouter to accept KoaApi with any context
  • 9ef9ccc: update docs: explain attachRouter function usage
nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Major Changes

  • daa0024: Move attachRouter from KoaApi class to a special function.

    I couldn not make the types work when trying to add the attachRouter to augmented koa typescript module.

nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Minor Changes

  • dd0c276: TypeScript: Change request body type from any to unknown.
  • 18c8a87: Implement attachRouter method
nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 45c6d4c: Add API docs
nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 5d9095b: add code comments
nextjs-koa-api - [email protected]

Published by github-actions[bot] over 2 years ago

Major Changes

  • eb550ad: Initial release