@billogram/countries

Functions for working with country codes

Usage no npm install needed!

<script type="module">
  import billogramCountries from 'https://cdn.skypack.dev/@billogram/countries';
</script>

README

@billogram/countries

Functions for working with country codes

Install

yarn add @billogram/countries

Usage

import {
    getCountry,
    getCountries,
} from '@billogram/countries';

See types for exported types.

getCountry

getCountry(countryCode);

getCountries

getCountries();

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT