Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
extremelogger
Advanced tools
THE EXTREME LOGGER IS HERE FOR ALL YOUR EXTREME LOGGING NEEDS
THE POSSIBILITIES ARE ENDLESS, BUT THE PROBABILITIES START AT 0 AND END AT 1, BY DEFINITION
NOW GET LOGGING!
const xlog = require('extremelogger')
const run = async () => {
/*
* CLASSES, WOW
*/
// THE SPINNINGBAR CLASS IS GOOD FOR LOADING MESSAGES
const spinningBar = new xlog.SpinningBar()
spinningBar.start("SPINNING THINGS...", 5000, "DONE SPINNING")
await xlog.pause(1500) // XLOG.PAUSE IS JUST A PROMISE RESOLVED ON TIMEOUT, IGNORE IT IF YOU WANT
await spinningBar.stop()
// THE ROLLINGBAR CLASS IS MUCH THE SAME BUT MORE LIKE A SHURIKEN / KUNAI / THROWN AXE
// ROLL FOR STRENGTH OR DEXTERITY, YOUR CHOICE
const rollingBar = new xlog.RollingBar()
rollingBar.start("TOSSING THINGS...", 5000, "DONE TOSSING")
await xlog.pause(1500)
await rollingBar.stop()
/*
* NOW CHECK OUT THESE HANDY FUNCTIONS
*/
// xlog.tickertape(text <string>, reverse <boolean>, timeInMs <number>, completionText <string>)
await xlog.tickertape("THIS TEXT SHALL NOT PASS!", false, 1500)
await xlog.tickertape("THIS TOO SHALL PASS!!!!", true, 1500, "This text has indeed passed.")
// xlog.build(text <string>, timeInMs <number>)
await xlog.build("THIS IS THE DAWNING OF THE AGE OF AQUARIUS", 1500)
// xlog.buildByWord(text <string>, delimiter <string> (defaults to " "))
await xlog.buildByWord("I am become Death, destroyer of worlds")
await xlog.buildByWord("I_am_become_split_by_underscores,_separator_of_words", "_")
// xlog.expand(text <string>, timeInMs <number>)
await xlog.expand("Th-th-th-th-that's all, folks!", 1500)
// xlog.closeIn(text <string>, timeInMs <number>)
await xlog.closeIn("||||||(I AM A CURTAIN)||||||", 1500)
}
FAQs
a bunch of silly logging animations
The npm package extremelogger receives a total of 1 weekly downloads. As such, extremelogger popularity was classified as not popular.
We found that extremelogger 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.