Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

all-the-regions

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 04 Feb 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc