{"id":22677811,"url":"https://github.com/leask/china-districts","last_synced_at":"2025-04-12T14:25:20.439Z","repository":{"id":20178729,"uuid":"23449668","full_name":"Leask/China-Districts","owner":"Leask","description":"Make JSON Tree of China Districts","archived":false,"fork":false,"pushed_at":"2015-07-27T14:33:17.000Z","size":258,"stargazers_count":52,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T09:01:47.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Leask.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-29T02:14:34.000Z","updated_at":"2022-06-12T03:28:56.000Z","dependencies_parsed_at":"2022-09-02T20:02:17.082Z","dependency_job_id":null,"html_url":"https://github.com/Leask/China-Districts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FChina-Districts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FChina-Districts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FChina-Districts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leask%2FChina-Districts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leask","download_url":"https://codeload.github.com/Leask/China-Districts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248579336,"owners_count":21127799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T18:01:59.208Z","updated_at":"2025-04-12T14:25:20.430Z","avatar_url":"https://github.com/Leask.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"China-Districts\n===============\n\nMake JSON Tree of China Districts.\n\nhttps://www.npmjs.com/package/china-districts\n\n\n## Node Model\n```\n{\n    id        : [string],\n    name      : [string],\n    districts : [array]\n}\n```\n\n\n## How to use?\n```\nnpm install china-districts\nvar chinaDistricts = require('china-districts');\nconsole.log(chinaDistricts);\n```\n\n\n## Contribution\n```\n$ git clone https://github.com/Leask/China-Districts.git\n# update the source data in districts.txt\n$ node make.js\n$ ls districts.js districts.json districts.min.json\n# pull request\n```\n\n\n## Data Source\n- 数据来源：[中华人民共和国国家统计局](http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/)\n- 当前版本：[最新县及县以上行政区划代码（截止2014年10月31日）](http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201504/t20150415_712722.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleask%2Fchina-districts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleask%2Fchina-districts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleask%2Fchina-districts/lists"}