{"library":"koa-cors","type":"library","category":null,"description":"CORS middleware for Koa (v0.0.16). Inspired by node-cors, this middleware adds Cross-Origin Resource Sharing (CORS) headers to Koa responses. It supports all standard CORS options: origin, expose, maxAge, credentials, methods, and headers. It is a simple, lightweight solution for enabling CORS in Koa apps, but note that the package is old and the Koa ecosystem has evolved significantly since v1. Unmaintained since 2016; consider using @koa/cors for modern Koa 2.x.","language":"javascript","status":"deprecated","version":"0.0.16","tags":["javascript","cors","koa","koajs"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-cors","imports":["const cors = require('koa-cors');"]},{"cmd":"yarn add koa-cors","imports":[]},{"cmd":"pnpm add koa-cors","imports":[]}],"homepage":null,"github":"https://github.com/evert0n/koa-cors","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-cors","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-cors/compatibility"}}