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.
country-currency-emoji-flags
Advanced tools
This small package helps to obtain emojis based on the currency code (ISO 4217) or country code (ISO 3166-1 alpha-2).
npm install --save country-currency-emoji-flags
import {
getEmojiByCountryCode,
getEmojiByCurrencyCode,
countryData,
currencyData,
} from "country-currency-emoji-flags";
// Currency lookup
emojiFlags.getEmojiByCurrencyCode("CAD");
// => "🇨🇦"
// Country lookup
emojiFlags.getEmojiByCountryCode("CA");
// => "🇨🇦"
// entire currency code set
emojiFlags.currencyData;
// entire country code set
emojiFlags.countryData;
FAQs
Returns country flag emojis given currency codes
We found that country-currency-emoji-flags demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.