validate-currency-code
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

validate-currency-code

Very simple lib to check if something is a iso 4217 currency code

Usage

var validateCurrencyCode = require('validate-currency-code');
if (validateCurrencyCode('EUR')) {
  // code that should run when the currencycode is valid
}

Package Sidebar

Install

npm i validate-currency-code

Weekly Downloads

7,121

Version

0.1.2

License

MIT

Unpacked Size

4.43 kB

Total Files

10

Last publish

Collaborators

  • boelensman1