Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
the console styling library that does only one thing
Anything exported by ansi-codes has a method:
styled.bold('foo')
styled.redBg( styled.yellow('hello!') )
styled.blink('blink blink!!');
Shortcut to apply multiple styles:
styled('bold yellow greenBg', 'hello!!')
Can be also written as:
styled('bold, yellow, greenBg', 'hello!!')
Or
styled('.bold .yellow .greenBg', 'hello!!')
$ npm install styled
reset: \033[0m
bold: \033[1m
italic: \033[3m
blink: \033[5m
underline: \033[4m
underlineOff: \033[24m
inverse: \033[7m
inverseOff: \033[27m
strikethrough: \033[9m
strikethroughOff: \033[29m
def: \033[39m
white: \033[37m
black: \033[30m
red: \033[31m
green: \033[32m
blue: \033[34m
yellow: \033[33m
magenta: \033[35m
cyan: \033[36m
defBg: \033[49m
whiteBg: \033[47m
blackBg: \033[40m
redBg: \033[41m
greenBg: \033[42m
blueBg: \033[44m
yellowBg: \033[43m
magentaBg: \033[45m
cyanBg: \033[46m
FAQs
Unknown package
The npm package styled receives a total of 2,013 weekly downloads. As such, styled popularity was classified as popular.
We found that styled 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.