1.3.0 • Published 7 years ago
is-currency-symbol v1.3.0
💰 is-currency-symbol
Validates whether a given input is a valid currency symbol.
Installation
npm install is-currency-symbol
Usage
const isCurrencySymbol = require('is-currency-symbol');
isCurrencySymbol('$'); // true
isCurrencySymbol('#'); // false
Contributing
git clone git@github.com:hugomd/is-currency-symbol.git
npm install
- Make your changes
- Open a pull request and ask for review ✌️
- Optional: use emoji in your commits 🔥