china-dist-data

1.0.0 • Public • Published

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": "东城区"
        }
        // ……
    ],
}
 

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.04latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.04

Package Sidebar

Install

npm i china-dist-data

Weekly Downloads

4

Version

1.0.0

License

ISC

Last publish

Collaborators

  • dai-siki