SIGINFO/SIGUSR1 Signal Handler
JSON →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.
Traffic · last 30 days ↓25% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany