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.
@exante/big-decimal
Advanced tools
Utility functions to convert numbers to and from big decimal objects.
A very small set of utility functions to convert numbers in Big Decimal format to JavaScript numbers and back.
npm install --save @exante/big-decimal
import { toBigDec, fromBigDec } from '@exante/big-decimal';
fromBigDec({ scale: 2, value: 12345 }); // -> 123.45
toBigDec(123.45); // -> { scale: 2, value: 12345 }
This library is intended to be as lightweight as possible. Therefore it only provides helpers to convert numbers to and from BigDecimal format. It does not provide utilities for BigDecimal arithmetic. If you need precision arithmetic in JavaScript, take a look at big.js or bignumber.js
FAQs
Utility functions to convert numbers to and from big decimal objects.
The npm package @exante/big-decimal receives a total of 0 weekly downloads. As such, @exante/big-decimal popularity was classified as not popular.
We found that @exante/big-decimal 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’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.