1.1.3 • Published 7 years ago
chinese-region-util v1.1.3
chinese-region-util
Provide administrative regional structure of china.
Installation
$ npm install --save chinese-region-util
or
$ yarn add chinese-region-util --devMethods
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