Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
currency-codes-ru-en-names
Advanced tools
Small library for getting currency names by currency code(s). Names available on Russian and English. 184 currency codes in total.
I made this package for working with countries data by mledoze. They are using arrays with ISO 4217
currency codes, so, using my package you can convert them to string with their names. Names available on Russian and English. Codes and named taken from Wikipedia.
npm install currency-codes-ru-en-names
or
yarn add currency-codes-ru-en-names
var currency = require('currency-codes-ru-en-names');
currency.names(code<String|Array>, [locale<String>]);
// code can be single string or flat array of 3-letter codes
// if locale not specified, then "ru" will be used
// with single string
currency.names("XCD", "ru");
// "Восточно-карибский доллар"
// with single string
currency.names("XCD", "en");
// "East Caribbean Dollar"
// with an array (single item)
currency.names(["XCD"], "ru");
// "Восточно-карибский доллар"
// with an array (multiple items)
currency.names(["USD", "USN", "USS"], "ru");
// "Доллар США, Доллар следующего дня, Доллар того же дня"
// with an array (multiple items)
currency.names(["USD", "USN", "USS"], "en");
// "US Dollar, US Dollar (Next day), US Dollar (Same day)"
npm run test
ISO 639-3
codes) using this currency to every codeFAQs
Small library for getting currency names by currency code(s). Names available on Russian and English. 184 currency codes in total.
The npm package currency-codes-ru-en-names receives a total of 1 weekly downloads. As such, currency-codes-ru-en-names popularity was classified as not popular.
We found that currency-codes-ru-en-names 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.