Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including koa-x-router with all npm packages installed. Try it out:

require("@koa/router/package.json"); // @koa/router is a peer dependency. require("joi/package.json"); // joi is a peer dependency. require("koa/package.json"); // koa is a peer dependency. var koaXRouter = require("koa-x-router")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

koa-x-router v0.0.12

`koa-x-router` is a library that extends the functionality of `koa-router` by providing validation and automatic API documentation features. It simplifies the process of defining routes, validating request data, and generating API documentation.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free