
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
Slog or structured logging is a way to log data in a structured manner. This package makes sure you have a beutiful looking terminal while keeping your logs structured.
npm install good-slog
import { log, info, warning, error } from 'good-slog';
// or
const slog = require('good-slog');
log('Hello World');
To keep a record of all your logs, lets say in an object, you can call the callback function.
import { log } from 'good-slog';
const logs = [];
log('Hello World', (m) => logs.push(m));
To write to a file
import * as fs from 'fs';
import { log } from 'good-slog';
log('Hello World', (m) =>
fs.writeFileSync('logs.json', JSON.stringify(m))
);
There is a total of 4 exported functions.
log('Hello World');
info('Hello World');
warning('Hello World');
error('Hello World');
FAQs
Simple and minimal structured logging for Node or Bun
The npm package good-slog receives a total of 0 weekly downloads. As such, good-slog popularity was classified as not popular.
We found that good-slog 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
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.