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.
elo7-format-amd
Advanced tools
Format-amd string/number library
Format.js is a library that converts string to number or the opposite. This library uses amd structure. Currently, we support currency formats.
Install : npm install elo7-format-amd
Format-amd depends on an amd implementation. We suggest define-async implementation for dependency lookup.
define(['format'], function(format) {
format.currency(17.2, 'R$'); // Returns R$ 17,20
format.currencyToNumber('R$ 9,50'); // Returns 9.5
});
Format-amd is released under the BSD. Have at it.
Copyright :copyright: 2014 Elo7
FAQs
A small lib to format string to number and vice versa
The npm package elo7-format-amd receives a total of 229 weekly downloads. As such, elo7-format-amd popularity was classified as not popular.
We found that elo7-format-amd 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’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.