This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

m49-regions
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

List of M49 regions

npm version renovate-app Known Vulnerabilities codecov travis

This library constains list of M49 regions based on United Nations standard - https://unstats.un.org/unsd/methodology/m49/

You can use package as npm module. Just install it:

npm install m49-regions --save

and use it in you project:

var m49Regions = require('m49-regions');
console.log(m49Regions);

It can be also used with RequireJS, CommonJS, Browserify or Webpack.

Format

Each region have two mandatory properties (name and code) and one optional (sub - for subregions). Json is in hearchial structure:

{
    "code": "001",
    "name": "World",
    "sub": [ {
         "code": "009",
         "name": "Europe",
         "sub": [ ... list of sub-regions ... ]
       }
       ...
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i m49-regions

Weekly Downloads

2

Version

1.3.0

License

Apache-2.0

Unpacked Size

27.8 kB

Total Files

17

Last publish

Collaborators

  • fabulator