is-currency
v2.0.0
Published
Validates whether a given input is a valid currency code, according to ISO 4217
Downloads
195
Readme
💰 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 [email protected]:hugomd/is-currency.git
npm install
- Make your changes
- Open a pull request and ask for review ✌️
- Optional: use emoji in your commits 🔥