{"id":17128002,"url":"https://github.com/marocchino/jipcode","last_synced_at":"2025-03-24T04:18:49.731Z","repository":{"id":137098955,"uuid":"525975094","full_name":"marocchino/jipcode","owner":"marocchino","description":"jipcode porting from ruby","archived":false,"fork":false,"pushed_at":"2023-03-03T00:44:50.000Z","size":2305,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-29T10:19:07.785Z","etag":null,"topics":["japanese","postalcode","typescript","zipcode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marocchino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-17T22:38:24.000Z","updated_at":"2023-02-11T08:42:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b4c932c-b22f-42e0-93e1-3034df94bd3c","html_url":"https://github.com/marocchino/jipcode","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Fjipcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Fjipcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Fjipcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Fjipcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marocchino","download_url":"https://codeload.github.com/marocchino/jipcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245206834,"owners_count":20577583,"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","postalcode","typescript","zipcode"],"created_at":"2024-10-14T19:06:00.619Z","updated_at":"2025-03-24T04:18:49.705Z","avatar_url":"https://github.com/marocchino.png","language":"TypeScript","readme":"# Jipcode\n\nThis is node porting of \u003chttps://github.com/rinkei/jipcode\u003e\nThis library is available in the browser.\n\n## Why?\n\nI wanted to use the same data for server and client. But I didn't want to use the server's resources.\nAnd there was no Japanese address library available in TypeScript, where dependency maintenanced continually.\n\n## Installation\n\n```\nyarn add jipcode\n```\n\nor\n\n```\nnpm install jipcode\n```\n\n## Usage\n\nBasically, it has same interface with ruby version.\n\n```ts\nimport { locate } from \"jipcode\";\n\nawait locate(\"1150051\")\n// returns [{ city: \"北区\", prefecture: \"東京都\", town: \"浮間\", zipcode: \"1150051\" }]\n\nawait locate(\"1150051\", { prefectureCode: true })\n// returns [{ city: \"北区\", prefecture: \"東京都\", prefectureCode: 13, town: \"浮間\", zipcode: \"1150051\" }]\n```\n\n- `zipcode`: 郵便番号\n- `prefecture`: 都道府県\n- `city`: 市区町村\n- `town`: 町域番地\n\n## Release\n\nIt will be released after ruby version release.\n\n## Any problem?\n\nFeel free to report issues. 😃\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarocchino%2Fjipcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarocchino%2Fjipcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarocchino%2Fjipcode/lists"}