Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
badgen
Advanced tools
Readme
Fast, handcraft, pure JavaScript badge generator.
npm install badgen
const badgen = require('badgen')
const svgString = badgen({
subject: 'npm', // <Text>
status: 'v1.2.3', // <Text>
color: 'blue' // <Color RGB> or <Color Name>
})
Available color names:
npm run bench
on my iMac5K(Late 2014), 3.5G i5, with Node.js 10.5.0:
generate by short params x 1,085,052 ops/sec ±1.03% (83 runs sampled)
generate by long params x 1,046,942 ops/sec ±0.61% (93 runs sampled)
generate by full params x 1,266,881 ops/sec ±0.76% (91 runs sampled)
FAQs
Unknown package
The npm package badgen receives a total of 5,514 weekly downloads. As such, badgen popularity was classified as popular.
We found that badgen demonstrated a healthy version release cadence and project activity because the last version was released less than 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 unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.