
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.