@cloudparker/easy-currency-data
v1.1.0
Published
Library to provide country name, dialCode and isoCode
Downloads
7
Readme
easy-countrydata
Library to provide all currency information
Install
npm i @cloudparker/easy-currency-data --save-dev
CDN install
<script src="https://cdn.jsdelivr.net/gh/paramanandapradhan/easy-currency-data@main/dist/index.js" />
Usage
Nodejs
import EasyCurrencyData from "@cloudparker/[email protected]";
EasyCurrencyData.getCurrencies();
// Return list of currency data
// [ { code: "EUR", symbol: "€", name: "Euro"}, ... ]
Browser
<script src="https://cdn.jsdelivr.net/gh/paramanandapradhan/easy-currency-data@main/dist/index.js" />
EasyCurrencyData.getCurrencies();
// Return list of currency data
// [ { code: "EUR", symbol: "€", name: "Euro" }, ... ]