{"library":"siginfo","type":"library","category":null,"description":"siginfo is a Node.js utility module designed to abstract and standardize the handling of process information signals across different operating systems. Specifically, it normalizes `SIGINFO` (used on BSD/macOS) and `SIGUSR1` (used on Linux), both conventionally triggered by `Ctrl+T` to request a running process to output its internal state or progress. The current stable version is 2.0.0. This package provides a simple API that allows developers to register a callback function which executes when one of these signals is received, typically logging process-specific metrics like version, uptime, or progress. It differentiates itself by providing a cross-platform wrapper for a specific, widely-understood signal convention, making it easier to build inspectable long-running Node.js processes without dealing with OS-specific signal handling directly. Release cadence is infrequent, reflecting its stable and focused functionality, primarily updating for Node.js compatibility or minor enhancements.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","siginfo","sigusr1","ctrl","t","info","progress","inspect"],"install":[{"cmd":"npm install siginfo","imports":["const siginfo = require('siginfo')","const removeListener = siginfo(() => { /* ... */ })"]},{"cmd":"yarn add siginfo","imports":[]},{"cmd":"pnpm add siginfo","imports":[]}],"homepage":null,"github":"https://github.com/emilbayes/siginfo","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/siginfo","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/siginfo/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}