Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
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.
currencies-symbol
Advanced tools
A simple light package that returns a country currency numeric symbol and also list all countries currency
A simple light package that returns a country currency numeric symbol and also list all countries currency with zero dependency.
npm install currencies-symbol
//ES5
const currenciesSymbol = require('currencies-symbol');
// ES6
import currenciesSymbol from 'currencies-symbol';
console.log(currenciesSymbol.all());
// This will return all curriencies symbol
console.log(currenciesSymbol.symbol("United States")); //$
// This will return '$' which is $.
console.log(currenciesSymbol.symbol("USD")); //$
// This will return '$' which is $.
console.log(currenciesSymbol.symbol("Dollar")); //$
// This will return '$' which is $.
console.log(currenciesSymbol.symbol("Nigeria")); //₦
// This will return '₦' which is ₦.
console.log(currenciesSymbol.symbol("NGN")); //₦
// This will return '₦' which is ₦.
console.log(currenciesSymbol.symbol("Naira")); //₦
// This will return '₦' which is ₦.
console.log(currenciesSymbol.symbol("GHC")); //¢
// This will return '¢' which is ¢
console.log(currenciesSymbol.symbol("Ghana")); //¢
// This will also return '¢' which is ¢
console.log(currenciesSymbol.symbol("Cedis")); //¢
// This will also return '¢' which is ¢.
/***
* Note: the .symbol() function takes any of this arguments - Country Name, Currency Name and Currency Abbreviation and return the currency symbol.
***/
function | argument | response | ||
---|---|---|---|---|
.all() | none | it returns all currencies symbol | ||
.symbol(name) | name(Country Name or Currency Name or Currency Abbreviation) | it returns a symbol for a particular country or currency . | ||
scope should be something specific to the commit change e.g logo
subject text should:
Message body (optional) If a body is to be written, it should:
Message Footer This should be used for referencing the issues using the following keywords: Start, Delivers, Fixes and Finishes. It should be written as:
This project is authored by Philips Blessing and is licensed for your use, modification and distribution under the MIT license.
FAQs
A simple light package that returns a country currency numeric symbol and also list all countries currency
The npm package currencies-symbol receives a total of 0 weekly downloads. As such, currencies-symbol popularity was classified as not popular.
We found that currencies-symbol 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
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.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.