https://github.com/jakexchan/cn-address-convert
A program for convert the china address data to a tree structure.
https://github.com/jakexchan/cn-address-convert
china-area-data element-ui vux
Last synced: 3 months ago
JSON representation
A program for convert the china address data to a tree structure.
- Host: GitHub
- URL: https://github.com/jakexchan/cn-address-convert
- Owner: jakexchan
- Created: 2018-11-15T14:12:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T02:56:08.000Z (about 6 years ago)
- Last Synced: 2025-01-21T19:11:45.215Z (4 months ago)
- Topics: china-area-data, element-ui, vux
- Language: JavaScript
- Homepage:
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cn-address-convert
Convert the Chinese address data to tree structure from [vux datas](https://github.com/airyland/vux/tree/v2/src/datas) and use it on element-ui `Cascader` component.

## Run
```
node ./convert.js -s ./china_address_v4.json -o china_address_v4_output.json
```- `-s`: Data source
- `-o`: Output file