{"library":"koa-rewrite-75lb","type":"library","category":null,"description":"koa-rewrite is a specialized URL rewriting middleware designed for the Koa.js web framework. It enables developers to dynamically modify incoming request URLs based on defined patterns before they are processed by subsequent middleware or routing logic. The current stable version, 3.0.1, is compatible with Koa v2 and newer, while `koa-rewrite@1` is designated for Koa v1 applications. The library offers flexible rewrite rule definition through regular expressions, named and numeric route parameters, and wildcard matching. It provides a focused, lightweight solution for common URL manipulation needs within the Koa ecosystem, prioritizing simplicity and efficiency for path transformations rather than comprehensive routing. Releases are infrequent, primarily aligning with significant Koa framework updates.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","koa","middleware","rewrite","redirect","url"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-rewrite-75lb","imports":["import rewrite from 'koa-rewrite';","const rewrite = require('koa-rewrite');"]},{"cmd":"yarn add koa-rewrite-75lb","imports":[]},{"cmd":"pnpm add koa-rewrite-75lb","imports":[]}],"homepage":null,"github":"https://github.com/koajs/rewrite","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-rewrite-75lb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/koa-rewrite-75lb/compatibility"}}