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.
base64-clean
Advanced tools
Remove non-encoding characters from a base64 string.
For the latest list, please refer to base64-variants.
base64
: Vanilla base64 - defaultrfc4648
: RFC 4648 (base64url)rfc4648_alt
: RFC 4648 with "="y64
: YUI "Y64"xml
: XML-compatiblenpm install base64-clean
var base64Clean = require("base64-clean");
base64Clean({ variant: "base64" }, "a@z#A$Z(0!9+`="); //=> "azAZ09+="
Note: this module supports currying.
var cleanRfc4648 = base64Clean({ variant: "rfc4648" });
cleanRfc4648("a@z#A$Z(0!9+`="); //=> "azAZ09"
Key: type name = default
FAQs
Clean dirty base64
The npm package base64-clean receives a total of 5 weekly downloads. As such, base64-clean popularity was classified as not popular.
We found that base64-clean 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.