is-region

1.0.3 • Public • Published

Is Region Build Status

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

  1. Fork it
  2. Run npm install
  3. Run Grunt watch grunt watch
  4. Create your feature branch (git checkout -b my-new-feature)
  5. Commit your changes (git commit -am "Add some feature")
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request## License MIT © Ryan Burgess

Package Sidebar

Install

npm i is-region

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • ryanburgess