
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A progress bar NodeJS

npm install keyload --save
var KeyLoad = require('keyload')
var bar = new KeyLoad({
whole: 20, // Total amount for loading bar
undone: ' ', // Character for the undone section of the loading bar
done: '=', // Character to be used for the finished sectiond of the loading bar
middle: '>', // The middle character on the loading bar
stream: process.stderr // The stream for output
})
// Interval for ticking up the bar
var interval = setInterval(bar.tick, 500)
// Interval for setting a random message on the bar
var interval2 = setInterval(function() {
bar.message('f'.repeat(Math.round(Math.random() * 100) % 16))
}, 500)
// Listener for the bar being finished
bar.on('end', function() {
clearInterval(interval)
clearInterval(interval2)
console.log('complete')
})
// Increasing the bar by one
bar.tick()
tick()Increases the bar by one.
on(eventStr, callback)Listen for events on the bar. Currently only end is supported.
message(string)Put a message on the loader bar. It will be truncated or removed if there is not enough space. This is the alternative to console.log while using this bar, since it unfortunately breaks it.
FAQs
A loading bar
The npm package keyload receives a total of 5 weekly downloads. As such, keyload popularity was classified as not popular.
We found that keyload 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.