geo-utils

Utilities to get countries, languages and US states

Showing:

Popularity

Downloads/wk

2

GitHub Stars

9

Maintenance

Last Commit

6yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

17.9KB

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Geo Utilities

NPM version

This node package contains multiple utilies to manage GEO data such as countries, languages and US states.

How to install it?

$ npm install geo-utils

How to use it?

Include the library:

var geo = require("geo-utils");

Countries:

var countries = geo.countries;

// List of all countries
countries.LIST;

// Get a country
countries.get("FR");

Languages:

var languages = geo.languages;

// List of all languages
languages.LIST;

// Get a language
languages.get("fr");

US States:

var usstates = geo.usstates;

// List of all US states
usstates.LIST;

// Get a US state
usstates.get("CA");

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