country-vat

Get a country VAT rate. ISO 3166-1 compliant.

Usage no npm install needed!

<script type="module">
  import countryVat from 'https://cdn.skypack.dev/country-vat';
</script>

README

country-vat

Last version Coverage Status NPM Status

Get a country VAT rate. ISO 3166-1 compliant.

Install

$ npm install country-vat --save

Usage

const countryVat = require('country-vat')

countryVat('ES') // => 0.21
countryVat('ESP') // => 0.21
countryVat(724) // => 0.21
countryVat('Spain') // => 0.21

Related

  • req-country – Given a request, get the country associated with it. ISO 3166-1 alpha-2 compliant.
  • is-european – Check if a country is part of the EU (European Union) or EEA (European Economic Area). ISO 3166-1 compliant.
  • tom.js.org – tom 🐶 is a backoffice for your projects.

License

country-vat © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats