1.1.3 • Published 6 years ago

chinese-region-util v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

chinese-region-util

Provide administrative regional structure of china.

Installation

$ npm install --save chinese-region-util
or
$ yarn add chinese-region-util --dev

Methods

  • findAll(): get full tree.
  • findOne(code): find one node by code.
  • getChildren(parentCode): get children by parent code.
  • getAllProvince(): find all provinces.
  • getAllCity(): find all cities.
  • getAllArea(): find all areas.

License

MIT

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago