
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.
A static logger configuration for NodeJs service, wrapping winston.
const log = require('tilog')(__filename)
//easy api
log('basic')
//explicit level
log.debug('basic')
log.info('basic')
log.warn('basic')
log.error('basic')
//formatting
let d = {a: 1, b:'Transylvania'}
log('Formatting: %d %s %j', 12345, 'welcome to', d)
log('test error with stack:', new Error('demo'))
//Customizable label for cluster environment to distinguish child processes
log.config({
instanceName: 'ClusterWorker/1'
})
log('With instance info. Useful for cluster environment')
const log2 = require('tilog')('/anotherModule/index.js')
log2('Message from another module')

FAQs
New-wheel logger, just do it
We found that tilog 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.