hugomd / is-currency-symbol

πŸ’° Validates whether a given input is a valid currency symbol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’° 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 πŸ”₯

Related Repositories

About

πŸ’° Validates whether a given input is a valid currency symbol.

License:MIT License


Languages

Language:JavaScript 100.0%