Socket
Socket
Sign inDemoInstall

all-the-regions

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    all-the-regions

every United Nations-designated region and subregion with all their countries in a nice neat hash


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
114 kB
Created
Weekly downloads
 

Readme

Source

all-the-regions

Every United Nations-designated region and subregion with all their countries in a nice neat hash.

Inspired by

https://www.npmjs.com/package/countryjs

and sourced from

http://unstats.un.org/unsd/methods/m49/m49regin.htm

Intended as a much lighter-weight way of accessing regions and subregions directly, without having to output a huge blob of full country data from countryjs and groupby.

Installation

npm install all-the-regions --save

Usage ES5

var regions = require('all-the-regions').regions console.log(regions);

Usage ES6

const subregions = import { subregions } from 'all-the-regions'; console.log(subregions.Micronesia);

Tests

no tests as of yet

Contributing

hit me with a PR if you see anything that needs fixin

Release History

  • 1.0.0 Initial release

Keywords

FAQs

Last updated on 04 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc