
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
This is a node.js module to beatuify the console in terminal.
const tint = require('tinting')
// log
tint.log('log')
// info
tint.info('info')
// table
tint.table({ a: 1, b: 2 })
tint.table([1, 2, 3])
// error
tint.error('error')
// and other methods of console,
// only use the original
// for example:
tint.time('label') // only call the console.time, doing nothing
tint.timeEnd('label')
the result is:
you can initialize a new instance with custom style by calling tint.createInstance(options)
const tint = require('tinting')
const con = tint.createInstance({
logStyle: {
text: ['yellow', 'bold']
}
})
con.log('log')
// now, output a yellow and bold string when calling log
{
logStyle: {
text: ['green'],
keyword: [{
'k': ['yellow', 'bold']
}]
},
// the style of info, error, global is the same as logStyle
// If the style of the invoked method does not exist,
// the style of global will be applied
tableStyle: {
layer: 1, // the output layer
head: ['white', 'bold'], // the head style
border: ['bold', 'magenta'] // the border style
}
}
// the text property is to change the style of the whole string
// the keyword property is to change the style of the keyword in string, It takes precedence over `text`
FAQs
A styled Console
We found that tinting 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.