
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
better-logging
Advanced tools
better-logging is a drop in replacement for the default logging methods of node.js

Out of the box Javascript comes five different standardized logging types. However, as it stands only browsers are taking advantage of these different methods of logging. better-logging aims to improve the default logging experience of any node application, it is designed to be a drop in replacement for the default logging methods.
Since better-logging only decorates the default logging methods you won't lose any functionality provided by other tooling. better-logging is not meant to be the be all and end all of node.js logging. It is just supposed to increase the usefulness of the default logging methods.
Install: npm i better-logging
// Default in node.js
console.debug('foo'); // foo
console.log('foo'); // foo
console.info('foo'); // foo
console.warn('foo'); // foo
console.error('foo'); // foo
// With better-logging
require('better-logging')(console);
console.debug('foo'); // [11:46:35.294] [debug] foo
console.log('foo'); // [11:46:35.296] [log] foo
console.info('foo'); // [11:46:35.296] [info] foo
console.warn('foo'); // [11:46:35.298] [warn] foo
console.error('foo'); // [11:46:35.298] [error] foo
console.line('foo'); // foo
https://olian04.gitbook.io/better-logging/
See LICENSE
FAQs
better-logging is a drop in replacement for the default logging methods of node.js
The npm package better-logging receives a total of 627 weekly downloads. As such, better-logging popularity was classified as not popular.
We found that better-logging 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.