{"id":16832648,"url":"https://github.com/zswang/icity","last_synced_at":"2025-03-22T04:30:41.527Z","repository":{"id":57270864,"uuid":"108346972","full_name":"zswang/icity","owner":"zswang","description":"Get the tools for the city where your phone number is located","archived":false,"fork":false,"pushed_at":"2017-10-26T12:40:43.000Z","size":156,"stargazers_count":43,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T08:11:14.807Z","etag":null,"topics":["city","mobile","phone"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zswang.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":"2017-10-26T01:40:24.000Z","updated_at":"2023-11-29T08:24:53.000Z","dependencies_parsed_at":"2022-09-15T12:40:48.613Z","dependency_job_id":null,"html_url":"https://github.com/zswang/icity","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/zswang%2Ficity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Ficity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Ficity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Ficity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/icity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907420,"owners_count":20529850,"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":["city","mobile","phone"],"created_at":"2024-10-13T11:49:53.804Z","updated_at":"2025-03-22T04:30:41.045Z","avatar_url":"https://github.com/zswang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"icity\n-----------\n\n# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]\n\nGet the tools for the city where your phone number is located\n\n## Usage 使用方法\n\n```shell\n$ npm install icity --save\n```\n\n## Examples 示例\n\n```js\nconsole.log(JSON.stringify(icity.parse('13810570000')))\n// \u003e {\"province\":\"北京\",\"city\":\"北京\",\"areaCode\":\"010\",\"provider\":\"中国移动\"}\n\nconsole.log(JSON.stringify(icity.parse('13820570000')))\n// \u003e {\"province\":\"天津\",\"city\":\"天津\",\"areaCode\":\"022\",\"provider\":\"中国移动\"}\n```\n\n## License\n\nMIT © [zswang](http://weibo.com/zswang)\n\n[npm-url]: https://npmjs.org/package/icity\n[npm-image]: https://badge.fury.io/js/icity.svg\n[travis-url]: https://travis-ci.org/zswang/icity\n[travis-image]: https://travis-ci.org/zswang/icity.svg?branch=master\n[coverage-url]: https://coveralls.io/github/zswang/icity?branch=master\n[coverage-image]: https://coveralls.io/repos/zswang/icity/badge.svg?branch=master\u0026service=github","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Ficity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Ficity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Ficity/lists"}