{"library":"express-end","type":"library","category":null,"description":"The `express-end` package provides a specific Express middleware designed to augment the default event handling on the `res` (response) object. Its primary function is to emit an `end` event whenever `res.end()` is called, crucially, even if the client connection has closed prematurely. This addresses a common limitation where the standard `finish` event on the `res` object might not reliably fire under such circumstances, preventing middleware from consistently determining when server-side processing for a request has fully concluded. This capability is useful for tasks like consistent post-request logging, resource cleanup, or metric collection. The package is currently at version `0.0.8` and has not been updated since 2016, indicating it is an abandoned project. Its core differentiator is providing a consistent signal for server-side request completion, regardless of client connection status, a problem that might be solved differently or directly in modern Express versions.","language":"javascript","status":"abandoned","version":"0.0.8","tags":["javascript","express,middleware,mw,emit,end,event,res,finish,close,patch"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-end","imports":["const endMw = require('express-end');"]},{"cmd":"yarn add express-end","imports":[]},{"cmd":"pnpm add express-end","imports":[]}],"homepage":null,"github":"https://github.com/alykoshin/express-end","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-end","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/express-end/compatibility"}}