
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
siginfo
Utility module to print pretty messages on SIGINFO/SIGUSR1
SIGINFO
on BSD / macOS and SIGUSR1
on Linux, usually triggered by
Ctrl + T
, are by convention used to print information about
a long running process internal state. Eg. dd
will tell you how many blocks it
has written and at what speed, while xz
will tell you progress, compression
ratio and estimated time remaining.
This module wraps both signals, checks if the process is connected to TTY and lets you do whatever you want.
var siginfo = require('siginfo')
var pkg = require('./package.json')
siginfo(function () {
console.dir({
version: pkg.version,
uptime: process.uptime()
})
})
var removeListener = siginfo(queryFn, [force])
queryFn
can be used for whatever you want (logging, sending a UDP message, etc.).
Setting force = true
will attach the event handlers whether a TTY is present
or not.
npm install siginfo
FAQs
Utility module to print pretty messages on SIGINFO/SIGUSR1
The npm package siginfo receives a total of 0 weekly downloads. As such, siginfo popularity was classified as not popular.
We found that siginfo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.