@opd/gbt2260
TypeScript icon, indicating that this package has built-in type declarations

2.1.3-202312 • Public • Published

GBT2260

gbt/2260 node npm license Build Status Standard - JavaScript Style Guide Coverage Status Known Vulnerabilities

latest Chinese administrative divisions from MCA, and based on gb2260

Install

npm i @opd/gbt2260

Use

const gbt2260 = require('@opd/gbt2260')

API

  • gbt2260.provinces(): 获取省级行政区划
  • gbt2260.prefectures(): 获取市级行政区划,若为直辖市,则返回辖区
  • gbt2260.counties(): 获取县级行政区划

Crawl Data

npm run generate

Difference with gb2260

  1. gb2260 looks like a dead project, no one in maintain
  2. rewrite prefectures()

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.3-2023125latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.3-2023125
2.1.3-2020120
2.1.2-2020120
2.1.2-2020111
2.1.2-2020100
2.1.2-2020090
2.1.2-2020080
2.1.2-2020070
2.1.1-2020070
2.1.1-2020060
2.1.10
2.1.1-2020050
2.1.1-2020030
2.1.1-20200020
2.0.8-20200021
2.0.7-20200020
2.0.7-2020010
2.0.7-2019120
2.0.7-2019110
2.0.6-2019100
2.0.5-2019100
2.0.4-2019090
2.0.4-2019080
2.0.3-2019080
2.0.30
2.0.20
2.0.10
2.0.00
1.3.1-2019070
1.3.0-2019070
1.2.2019070
1.2.2019060

Package Sidebar

Install

npm i @opd/gbt2260

Weekly Downloads

7

Version

2.1.3-202312

License

MIT

Unpacked Size

4.43 MB

Total Files

67

Last publish

Collaborators

  • kagawa