@winrisef/world-cities 0.1.134 → 0.1.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -49,7 +49,7 @@ const results = cityList.filter(city =>
49
49
  Load JSON directly without installing the package. Pin a version to keep the data consistent:
50
50
 
51
51
  ```js
52
- const base = 'https://cdn.jsdelivr.net/npm/@winrisef/world-cities@0.1.134/data'
52
+ const base = 'https://cdn.jsdelivr.net/npm/@winrisef/world-cities@0.1.135/data'
53
53
  const countries = await fetch(`${base}/countries.json`).then(r => r.json())
54
54
  const cities = await fetch(`${base}/cities/CN.json`).then(r => r.json())
55
55
  ```
@@ -69,7 +69,6 @@ You can also serve the packaged `data/` directory yourself and change `base` acc
69
69
  - `subregion` may refer to an entry in `children`, or contain a lower-level name or code from the source roster. Treat `id` values as opaque strings.
70
70
  - `kind` distinguishes `city`, `capital`, `municipality`, `prefecture` and `locality` records.
71
71
  - `lat` and `lon` are representative WGS84 coordinates. Time zones can be resolved separately from coordinates.
72
- - Mainland China, Taiwan, Hong Kong and Macao are grouped under `CN`; `TW`, `HK` and `MO` are corresponding regional subsets. Use `countries.json` for global totals. Mainland China includes prefecture-level cities, centrally administered municipalities and equivalent autonomous prefectures, prefectures and leagues, excluding county-level or lower divisions.
73
72
 
74
73
  ## Development
75
74
 
@@ -127,7 +126,6 @@ npm install @winrisef/world-cities
127
126
  - `subregion` 可以是所属 `children` 记录的 ID,也可能是来源名录中的下级行政区名称或代码。`id` 应视为不透明字符串。
128
127
  - `kind` 区分城市、首都、同级自治单位、同级地区以及供检索的代表地点。
129
128
  - `lat`、`lon` 为地点代表坐标(WGS84);时区由调用方按经纬度映射。
130
- - 中国大陆、台湾、香港和澳门统一归入 `CN`;`TW`、`HK`、`MO` 提供相应区域筛选入口,全球汇总以 `countries.json` 为准。中国大陆收录地级市、直辖市及同级自治州、地区、盟,不扩展到县级及以下。
131
129
 
132
130
  ### 维护
133
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winrisef/world-cities",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
4
4
  "description": "World cities and regions with Chinese names, English names, pinyin and WGS84 coordinates.",
5
5
  "type": "module",
6
6
  "license": "ODbL-1.0",