
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
pino-minimal
Advanced tools
A beautiful and minimal transport for pino
The pino-minimal
transport provides a prettified, minimalistic and beautiful output for Pino.js. It's output format is strongly inspired by Signale.
$ npm install -g pino-minimal
$ yarn global add pino-minimal
To use it, simply pipe the output from Pino into this transport. Example:
$ node server.js | pino-minimal
This package supports several command line arguments to customize the output. A flag that is true by default can be negated by using it with a no
prefix, e.g. to hide the time, use the option --no-time
.
Option/s | Type | Default | Description |
---|---|---|---|
--help , -h | boolean | - | Show a help document. |
--version , -v | boolean | - | Show version information. |
--date , -d | boolean | false | Show a date in the log output. |
--time , -t | boolean | true | Show a time in the log output. Use --no-time to disable. |
--pid , -p | boolean | false | Show the process ID (PID) in the log output. |
--hostname , -h | boolean | false | Show the hostname in the log output. |
--stacktrace , -s | boolean | true | Show a stack trace for errors that occur. Use --no-stacktrace to disable. |
--colorize , -c | boolean | Depends on terminal | Colorize the console output. Use --no-colorize to disable. |
--messageKey | string | msg | The JSON key to read the message from. |
--timestampKey | string | time | The JSON key to read the timestamp from. |
--crlf , -f | boolean | false | Use CRLF line endings instead of LF line endings. |
MIT
FAQs
A minimal and clean transport for the pino logger.
We found that pino-minimal 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.