Package Exports
- is-currency-code
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-currency-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
💰 is-currency-code
Validates whether a given input is a valid currency code, according to ISO 4217.
Installation
npm install is-currency-codeUsage
const isCurrencyCode = require('is-currency-code');
isCurrencyCode('usd'); // true
isCurrencyCode('fake-currency'); // falseContributing
git clone git@github.com:hugomd/is-currency-code.gitnpm install- Make your changes
- Open a pull request and ask for review ✌️
- Optional: use emoji in your commits 🔥