{"id":19990332,"url":"https://github.com/node-modules/china-mobile-phone-regexp","last_synced_at":"2025-06-14T03:07:47.327Z","repository":{"id":57198019,"uuid":"145197513","full_name":"node-modules/china-mobile-phone-regexp","owner":"node-modules","description":"The regular expressions for China mobile phone number.","archived":false,"fork":false,"pushed_at":"2018-08-18T14:56:19.000Z","size":6,"stargazers_count":60,"open_issues_count":0,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-28T03:40:40.167Z","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/node-modules.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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":"2018-08-18T06:53:06.000Z","updated_at":"2023-10-26T03:18:51.000Z","dependencies_parsed_at":"2022-09-16T13:12:28.351Z","dependency_job_id":null,"html_url":"https://github.com/node-modules/china-mobile-phone-regexp","commit_stats":null,"previous_names":["node-modules/china-mobile-phone-regexp","alibaba-archive/china-mobile-phone-regexp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/node-modules/china-mobile-phone-regexp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fchina-mobile-phone-regexp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fchina-mobile-phone-regexp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fchina-mobile-phone-regexp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fchina-mobile-phone-regexp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-modules","download_url":"https://codeload.github.com/node-modules/china-mobile-phone-regexp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-modules%2Fchina-mobile-phone-regexp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752078,"owners_count":22905972,"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-11-13T04:51:08.927Z","updated_at":"2025-06-14T03:07:47.272Z","avatar_url":"https://github.com/node-modules.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# china-mobile-phone-regexp\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/china-mobile-phone-regexp.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/china-mobile-phone-regexp\n[travis-image]: https://img.shields.io/travis/node-modules/china-mobile-phone-regexp.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/china-mobile-phone-regexp\n[codecov-image]: https://img.shields.io/codecov/c/github/node-modules/china-mobile-phone-regexp.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/node-modules/china-mobile-phone-regexp?branch=master\n[david-image]: https://img.shields.io/david/node-modules/china-mobile-phone-regexp.svg?style=flat-square\n[david-url]: https://david-dm.org/node-modules/china-mobile-phone-regexp\n[snyk-image]: https://snyk.io/test/npm/china-mobile-phone-regexp/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/china-mobile-phone-regexp\n[download-image]: https://img.shields.io/npm/dm/china-mobile-phone-regexp.svg?style=flat-square\n[download-url]: https://npmjs.org/package/china-mobile-phone-regexp\n\n[The regular expressions](https://github.com/fengmk2/ChinaMobilePhoneNumberRegex) for China mobile phones.\n\n## Install\n\n```bash\n$ npm i china-mobile-phone-regexp --save\n```\n\n## Usage\n\n```js\nconst phone = require('china-mobile-phone-regexp');\n// Is phone number?\nconsole.log(phone.is('13800138000'));\n\n// Is CHINA_MOBILE phone number?\nconsole.log(phone.is('13800138000', phone.CHINA_MOBILE));\n\n// Is CHINA_UNICOM phone number?\nconsole.log(phone.is('13800138000', phone.CHINA_UNICOM));\n\n// Is CHINA_TELECOM phone number?\nconsole.log(phone.is('13800138000', phone.CHINA_TELECOM));\n```\n\n## Questions \u0026 Suggestions\n\nPlease open an issue [here](https://github.com/node-modules/china-mobile-phone-regexp/issues).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fchina-mobile-phone-regexp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-modules%2Fchina-mobile-phone-regexp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-modules%2Fchina-mobile-phone-regexp/lists"}