Preparing for system design interviews?  Try bugzed.com →

SIGINFO/SIGUSR1 Signal Handler

JSON →
library 2.0.0 ·javascript
verified Jun 17, 2026

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.

total hits 22
actors 5 distinct systems
last hit 16d ago ByteDance
ByteDance
5
GPTBot
4
Amazonbot
4
Script
1
Humans
5

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇹🇷 Turkey · BD