Skip to content

GitbookIO/geo-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

About

Utilities to get countries, languages and US states

Resources

License

Stars

Watchers

Forks

Packages

No packages published