is-region
v1.0.3
Published
A JavaScript module for checking if a country is part of a specific region.
Downloads
15
Maintainers
Readme
Is Region
A JavaScript module for checking if a country is part of a specific region.
Install
npm install is-region --save-dev
Use
var region = require('is-region');
var country = 'UK';
region(country);
Release History
- 1.0.3: Add test script.
- 1.0.2: Add support for South America.
- 1.0.1: Check for regions NA, EU, EMEA and APAC.
- 1.0.0: Initial release.
Contributing
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request## License MIT © Ryan Burgess