{"library":"koa-response-time","type":"library","category":null,"description":"koa-response-time is a minimal Koa middleware designed to automatically add an `X-Response-Time` header to HTTP responses. This header indicates the duration it took for the Koa application to process and respond to a request. Currently at version 2.1.0, which was last published over 7 years ago, the package is highly stable and in maintenance mode, with no anticipated new feature development. Its primary differentiator is its simplicity and direct integration into the Koa ecosystem, providing a standard and unobtrusive way to measure request-response cycles. It supports high-resolution timing via an optional `hrtime` configuration for more precise measurements. The package has no external runtime dependencies, ensuring a lean footprint.","language":"javascript","status":"maintenance","version":"2.1.0","tags":["javascript","koa","middleware","response","duration"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-response-time","imports":["const responseTime = require('koa-response-time');","const responseTime = require('koa-response-time');"]},{"cmd":"yarn add koa-response-time","imports":[]},{"cmd":"pnpm add koa-response-time","imports":[]}],"homepage":null,"github":"https://github.com/koajs/response-time","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-response-time","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-response-time/compatibility"}}