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.
@brazilian-utils/helper-only-numbers
Advanced tools
> Strips all non numeric characters.
Strips all non numeric characters.
See our website http://brazilian-utils.github.io for more information or the issues associated with this package.
Using NPM:
npm install @brazilian-utils/helper-only-numbers --save
using Yarn
yarn add @brazilian-utils/helper-only-numbers
or using
<script
type="text/javascript"
src="https://unpkg.com/@brazilian-utils/helper-only-numbers/dist/helper-only-numbers.umd.production.js"
></script>
onlyNumbers('527.328.336-12'); // 52732833612
onlyNumbers('123abc456?.#789xyz 0'); // 1234567890
FAQs
> Strips all non numeric characters.
We found that @brazilian-utils/helper-only-numbers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.