
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
clean-logify
Advanced tools
A lightweight and customizable console logger for the browser.
Supports environments, colored tags, filtering, and multiple log levels.
npm install clean-logify
or
yarn add clean-logify
import cl from 'clean-logify';
// Configuration
cl.config({
enabledAll: true, // Optional: you can use process.env.NODE_ENV === 'development' for dynamic environments
tags: {
TAG1: {
color: '#4caf50',
isBold: true,
hasTime: true,
enabled: true
},
TAG2: {
color: '#ff9800',
isBold: false,
hasTime: true,
enabled: true
},
TAG3: {
color: '#9c27b0',
isBold: true,
hasTime: true,
enabled: false
},
},
});
// Logging examples
cl.log('User signed in', { name: 'Mike' }, [1, 2, 3], 'TAG1');
cl.info('Fetching data...', 'TAG2');
cl.warn('No UI theme selected', 'TAG3');
cl.error('Something went wrong', 'TAG2');
interface cleanlogifyConfig {
enabledAll?: boolean; // default: true
tags?: Record<string, {
color?: string; // default: '#03a9f4'
isBold?: boolean; // default: true
hasTime?: boolean; // default: true
enabled?: boolean; // default: true
}>
}
| Option | Type | Description |
|---|---|---|
enabledAll | boolean | Enable/disable logging globally |
tags | Record<string, TagConfig> | Configure each tag (color, bold, etc.) |
const cl = require('clean-logify');
cl.config({
enabledAll: true,
tags: {
debugTag: {
color: 'teal',
enabled: true,
}
}
});
cl.log('CJS works!', 'debugTag');
2025-04-13T22:18:51.199Z [TAG1] User signed in { name: 'Mike' } [ 1, 2, 3 ]
2025-04-13T22:18:51.219Z [TAG2] Fetching data...
2025-04-13T22:18:51.220Z [TAG3] No UI theme selected
FAQs
Lightweight console logger with tag filtering and color support
We found that clean-logify 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.