{"library":"lil-http-terminator","type":"library","category":null,"description":"lil-http-terminator is a minimalistic, zero-dependency Node.js library designed for gracefully shutting down HTTP and HTTPS servers. Currently at stable version 1.2.3, it offers a consistent, promise-based API for managing server connections during shutdown. Its core differentiator lies in its low footprint (11 KB), absence of external dependencies, and a design that prioritizes robustness: it never throws exceptions during termination, instead resolving with a `{success, code, message, error}` object. Unlike some alternatives, it guarantees termination by timing out if connections linger, and it avoids monkey-patching Node.js core APIs. The library is actively maintained, with recent updates ensuring compatibility with newer Node.js features like `server.closeIdleConnections()`.","language":"javascript","status":"active","version":"1.2.3","tags":["javascript","docker","kubernetes","prometheus","http","https","keep-alive","close","terminate"],"last_verified":"Wed May 27","install":[{"cmd":"npm install lil-http-terminator","imports":["const createHttpTerminator = require('lil-http-terminator');","import createHttpTerminator from 'lil-http-terminator';","await terminator.terminate();"]},{"cmd":"yarn add lil-http-terminator","imports":[]},{"cmd":"pnpm add lil-http-terminator","imports":[]}],"homepage":null,"github":"https://github.com/flash-oss/lil-http-terminator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lil-http-terminator","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/lil-http-terminator/compatibility"}}