mount
Path stripper
A utility that allows middleware to operate independently of a prefix by temporarily stripping the path from the URL.
Mount other Koa applications or middleware to a given pathname
554 stars
8 watching
51 forks
Language: JavaScript
last commit: almost 2 years ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
koajs/resourcer | Makes it easy to mount independent sub-applications within a Koa application using directory structure and configuration files. | 35 |
koajs/path-match | A simple routing wrapper around path-match. | 35 |
koajs/route | Simple middleware for routing requests to specific handlers in an application | 446 |
koajs/router | Provides a flexible routing system for building web applications with Koa. | 867 |
koajs/trace | A tracing module for Koa applications that enables event logging and supports various tracing systems. | 53 |
koajs/koa-safe-jsonp | A middleware plugin for Koa.js applications that safely wraps JSON responses in JSONP (JavaScript and XML Parsing) to facilitate cross-domain requests. | 17 |
koajs/parameter | Middleware for validating parameters in web applications | 67 |
koajs/koa-range | An implementation of range request support in Koa web framework | 50 |
koajs/resourcer-docs | Generates documentation for routes in a Koa.js application | 6 |
koajs/koa-roles | An authentication module for Koa.js applications | 118 |
koajs/cors | A middleware for managing cross-origin resource sharing in web applications. | 732 |
koajs/cluster | A utility for clustering and error handling in Koa applications | 64 |
koajs/rewrite | Middleware to alter URLs in Koa applications | 98 |
koajs/logger | A logging middleware for Koa.js applications | 562 |
koajs/json | Middleware for generating pretty-printed JSON responses in Koa applications. | 198 |