1.1.0 • Published 8 months ago

is-sepa v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

is-sepa

List of SEPA countries and the currencies they use

Example usage

import { isSepaCountry, getCurrencyOfSepaCountry } from "is-sepa";

isSepaCountry("AT"); // true
isSepaCountry("US"); // false

getCurrencyOfSepaCountry("AT"); // "EUR"
getCurrencyOfSepaCountry("GB"); // "GBP"

You can import the raw data like this:

import { map } from "is-sepa";

const arrayOfSepaCountries = [...map.keys()];

Maintenance

This module is different from all the others:

  • We will maintain the freshness of the data for years.
  • Last update was in Jan 2025. Meaning, Albania and Montenegro are also in the list.
1.1.0

8 months ago

1.0.0

8 months ago