
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
colorize-log
Advanced tools
--save will save colorize-log to your package dependencies
npm install colorize-log --save
create your own custom console levels and colors
var options = {
levels: ['custom1', 'custom2', 'custom3', 'success'],
colors: {
custom1:'gray',
custom2:'yellow',
custom3:'red',
success:'green'
},
consoleColor: 'cyan', // best to use 'reset'
showLevels:true,
levelsCase:'uppercase', //lowercase,camelcase
colorizeLevels: true
}
var Logger = require('colorize-log')
var Log = new Logger(options)
Log.custom1('Message 1')
Log.custom2('Message 2')
Log.custom3('Message 3')
Log.success('Success Message')
FAQs
Gives Color to your console logs
We found that colorize-log 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.