
Research
Active Supply Chain Attack Compromises @antv Packages on npm
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.
@loglayer/plugin-sprintf
Advanced tools
The sprintf plugin for loglayer provides printf-style string formatting support using sprintf-js.
It allows you to format your log messages using familiar printf-style placeholders if a transport does not support this behavior.
info, error,
etc, and would recommend that only string / boolean / number specifiers be used.npm install @loglayer/plugin-sprintf
import { LogLayer, ConsoleTransport } from 'loglayer'
import { sprintfPlugin } from '@loglayer/plugin-sprintf'
const log = new LogLayer({
transport: new ConsoleTransport({
logger: console
}),
plugins: [
sprintfPlugin()
]
})
// Example usage
log.info("Hello %s!", "world")
// Output: Hello world!
log.info("Number: %d", 42)
// Output: Number: 42
For more details, visit https://loglayer.dev/plugins/sprintf
FAQs
sprintf plugin for loglayer.
We found that @loglayer/plugin-sprintf demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.