{"id":18684950,"url":"https://github.com/tknf/japhonex-node","last_synced_at":"2025-11-07T22:30:22.207Z","repository":{"id":57153741,"uuid":"469074023","full_name":"tknf/japhonex-node","owner":"tknf","description":"Regex builder and validator for japanese phone number","archived":false,"fork":false,"pushed_at":"2022-03-12T14:08:43.000Z","size":121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-28T14:45:08.779Z","etag":null,"topics":["japanese","javascript","phonenumber","regex","typescript"],"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/tknf.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":"2022-03-12T12:18:43.000Z","updated_at":"2022-03-12T13:53:44.000Z","dependencies_parsed_at":"2022-09-07T06:00:46.008Z","dependency_job_id":null,"html_url":"https://github.com/tknf/japhonex-node","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fjaphonex-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fjaphonex-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fjaphonex-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fjaphonex-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknf","download_url":"https://codeload.github.com/tknf/japhonex-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239540380,"owners_count":19655991,"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":["japanese","javascript","phonenumber","regex","typescript"],"created_at":"2024-11-07T10:19:49.876Z","updated_at":"2025-11-07T22:30:22.170Z","avatar_url":"https://github.com/tknf.png","language":"TypeScript","readme":"# Japhonex Node\n\nJapanese phone number checker for Node.\n\n## Installation\n```bash\n$ npm i @tknf/japhonex\n# or \n$ yarn add @tknf/japhonex\n```\n\n## Usage\nIn your app you can do something like:\n```js\nimport { japhonex } from \"@tknf/japhonex\";\n\nconst regex = japhonex({ hyphen: \"optinal\" });\nregex.test(\"\u003cYour input\u003e\");\n```\n\n### Hyphen validation patterns\n### Optional (default)\n```js\nconst regex = japhonex({ hyphen: \"optional\" });\n// 0xx-xxxx-xxxx or 0xxxxxxxxxx\n```\n### Required\n```js\nconst regex = japhonex({ hyphen: \"requied\" });\n// 0xx-xxxx-xxxx\n```\n### No hyphen\n```js\nconst regex = japhonex({ hyphen: false });\n// 0xxxxxxxxxx\n```\n\n## Licence\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknf%2Fjaphonex-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknf%2Fjaphonex-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknf%2Fjaphonex-node/lists"}