🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

china-dist-data

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

china-dist-data

中国省市区三级数据(json格式)

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

china-dist-data

中国省市区三级数据(json格式)

install

npm install china-dist-data

数据格式(json)


{
    // 最高级:省份列表
    "-1": [
        {
            "id": "1",
            "code": "110000",
            "name": "北京"
        }
        // ……
    ],
    // 省份下城市列表
    "1": [
        {
            "id": "35",
            "code": "110100",
            "name": "北京"
        }
        // ……
    ],
    // ……
    // 城市下地区列表
    "35": [
        {
            "id": "387",
            "code": "110101",
            "name": "东城区"
        }
        // ……
    ],
}

Keywords

cn

FAQs

Package last updated on 17 Nov 2016

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