Skip to content

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

License

Notifications You must be signed in to change notification settings

Kikobeats/is-european

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 · X @Kikobeats

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published