Provide administrative regional structure of china.
$ npm install --save chinese-region-util
or
$ yarn add chinese-region-util --dev
-
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.
MIT