# uiwjs/province-city-china

🇨🇳 Complete and updated China administrative divisions (province, city, county, town) in JSON, CSV, and SQL formats 🇨🇳最全最新中国【省、市、区县、乡镇街道】json,csv,sql数据

Repository: https://github.com/uiwjs/province-city-china
Canonical: https://ross.abutalabs.com/products/province-city-china
Homepage: https://uiwjs.github.io/province-city-china
Language: JavaScript
License: MIT
License Family: permissive
Topics: province-city-china, query-china-province, city, sql, csv, gb, gb2260, china, uiw, address, uiwjs
Last push: 2026-04-21T11:44:35+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 78, release rhythm 8, longevity 100
- inputs: {"age_days": 3457, "days_push": 134, "days_rel": 727, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3039, forks 577 (observed 2026-08-28T04:07:39.248161+00:00)

## What it is
A dataset and npm package containing complete, regularly updated China administrative division codes (GB/T 2260) for provinces, cities, counties, and towns, distributed in JSON, CSV, and SQL formats. It includes modular sub-packages and utility functions for querying and cascading through the division hierarchy.

## Use cases
- query china province city district data
- build a cascading province/city/area address picker
- get china administrative divisions as  csv or sql
- look up gb2260 administrative division codes
- populate an address form with china regions
- import china region data into a database

## When to choose
- you need up-to-date China province/city/county/town division data
- you want modular npm packages or multiple data formats (JSON, CSV, SQL)
- you need code-to-name mapping following GB/T 2260

## When to avoid
- you need administrative divisions of countries other than China
- you need historical division data or full five-level village-level data
- you need geospatial boundary polygons rather than codes and names

## Facets
- artifact type: dataset
- maturity: active
- function: data-generation, sdk, developer-tools
- domain: apis, developer-tools, files
- platform: cross-platform
- tags: china-administrative-divisions, gb2260, province-city-district, -csv-sql, cascading-address-data, npm-package, china, nodejs, javascript

## Member repositories
- uiwjs/province-city-china (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.248161+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:29:16.303940+00:00, confidence not recorded.
  - readme: https://github.com/uiwjs/province-city-china (fetched 2026-08-28T04:07:39.248161+00:00, sha af0c08d6f291)
  - homepage: https://uiwjs.github.io/province-city-china (fetched 2026-08-29T09:44:41.406412+00:00, sha c28a8075b2dd)
  - registry_npm: https://registry.npmjs.org/province-city-china (fetched 2026-08-29T09:44:41.415923+00:00, sha abe774065fc1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
