1.3.0 • Published 7 years ago

is-currency-symbol v1.3.0

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

💰 is-currency-symbol

npm Build Status XO code style

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 🔥