jakexchan / cn-address-convert

A program for convert the china address data to a tree structure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cn-address-convert

Convert the Chinese address data to tree structure from vux datas and use it on element-ui Cascader component.

Use case

Run

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

About

A program for convert the china address data to a tree structure.


Languages

Language:JavaScript 100.0%