
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@plasma-platform/plasma-currency-formatter
Advanced tools
Price conversion from dollar to currency
Parameters
Returns number converted price with Math.round
Price conversion from currency to dollar
Parameters
Returns number converted price with Math.round
Get TM locale (TM locales: en, de, es, fr, it, uk, pl, tr, cs, nl, hu, sv, pt, ar, zh, ru)
Parameters
locale
string locale to convert to tm localeReturns string tm locale
Get currency code by lang (TM currencies: USD, EUR, PLN, TRY, CNY, BRL, HUF, SEK)
Parameters
lang
string language to get tm currencyReturns string currency code
Currency formatting by locale using Intl.NumberFormat
Parameters
Returns string formatted convertible price string
FAQs
Currency formatting depending on locale
We found that @plasma-platform/plasma-currency-formatter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.