Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 276 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 276 Bytes

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
}