1.0.7 • Published 6 months ago

is-european v1.0.7

Weekly downloads
272
License
MIT
Repository
github
Last release
6 months ago

is-european

Last version Coverage Status

Check if a country is part of the EU (European Union) or EEA (European Economic Area). ISO 3166-1 compliant.

Install

$ npm install is-european --save

Usage

const { eeaMember, euMember } = require('is-european')

euMember(578) // => false
euMember('NO') // => false
euMember('NOR') // => false
euMember('Norway') // => false

eeaMember(578) // => true
eeaMember('NO') // => true
eeaMember('NOR') // => true
eeaMember('Norway') // => true

Related

  • req-country – Given a request, get the country associated with it. ISO 3166-1 alpha-2 compliant.
  • country-vat – Get a country VAT rate. ISO 3166-1 compliant.
  • tom.js.org – tom 🐶 is a backoffice for your projects.

License

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

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats