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
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.22,910latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.22,910
0.1.1815
0.1.031

Package Sidebar

Install

npm i validate-currency-code

Weekly Downloads

3,756

Version

0.1.2

License

MIT

Unpacked Size

4.43 kB

Total Files

10

Last publish

Collaborators

  • boelensman1