1.1.3 • Published 8 years ago

chinese-region-util v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 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

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago