Socket
Socket
Sign inDemoInstall

koa-router

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-router - npm Package Versions

1
10

7.1.1

Diff

Changelog

Source

7.1.1

  • Fix bug where param handlers were run out of order #282
amingoia
published 5.4.1 •

amingoia
published 7.1.0 •

Changelog

Source

7.1.0

  • Backports: merge 5.4 work into the 7.x upstream. See 5.4.0 updates for more details.
amingoia
published 5.4.0 •

Changelog

Source

5.4.0

  • Expose matched route at ctx._matchedRoute.
amingoia
published 7.0.1 •

Changelog

Source

7.0.1

  • Fix: allowedMethods should be ctx.method not this.method #215
amingoia
published 5.3.0 •

Changelog

Source

5.3.0

  • Register multiple routes with array of paths #203.
  • Improved router.url() #143
  • Adds support for named routes and regular expressions #152
  • Add support for custom throw functions for 405 and 501 responses #206
amingoia
published 7.0.0 •

Changelog

Source

7.0.0

  • The API has changed to match the new promise-based middleware signature of koa 2. See the koa 2.x readme for more information.
  • Middleware is now always run in the order declared by .use() (or .get(), etc.), which matches Express 4 API.
amingoia
published 6.2.0 •

amingoia
published 6.1.0 •

amingoia
published 6.0.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc