Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
siginfo
Advanced tools
Readme
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 3,143,645 weekly downloads. As such, siginfo popularity was classified as 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.