ir

is-region

A JavaScript module for checking if a country is part of a region.

Showing:

Popularity

Downloads/wk

4

GitHub Stars

1

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

0.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Is Region npm version 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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100