💰 is-currency
Validates whether a given input is a valid currency code, according to ISO 4217.
Installation
npm install is-currency
Usage
const isCurrency = require('is-currency');
isCurrency('usd'); // true
isCurrency('fake-currency'); // false
Contributing
git clone git@github.com:hugomd/is-currency.git
npm install
- Make your changes
- Open a pull request and ask for review
✌️ - Optional: use emoji in your commits
🔥