{"id":28293663,"url":"https://github.com/alirezawmoradi/react-iban-generator","last_synced_at":"2026-04-30T12:34:09.992Z","repository":{"id":224225085,"uuid":"761939517","full_name":"Alirezawmoradi/React-IBAN-Generator","owner":"Alirezawmoradi","description":"A lightweight and easy-to-use custom hook for converting Account Number to IBAN Code in React applications.","archived":false,"fork":false,"pushed_at":"2024-02-25T18:34:26.000Z","size":92,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T12:34:04.772Z","etag":null,"topics":["custom-hooks-in-react","iban-generate","npm-package","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-iban-generator","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/Alirezawmoradi.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,"zenodo":null}},"created_at":"2024-02-22T19:16:21.000Z","updated_at":"2024-08-13T19:32:20.000Z","dependencies_parsed_at":"2024-02-24T21:22:45.298Z","dependency_job_id":"379d7651-703d-4d35-918f-dd6ea4c3fec3","html_url":"https://github.com/Alirezawmoradi/React-IBAN-Generator","commit_stats":null,"previous_names":["alirezawmoradi/react-iban-converter","alirezawmoradi/react-iban-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alirezawmoradi/React-IBAN-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirezawmoradi%2FReact-IBAN-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirezawmoradi%2FReact-IBAN-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirezawmoradi%2FReact-IBAN-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirezawmoradi%2FReact-IBAN-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alirezawmoradi","download_url":"https://codeload.github.com/Alirezawmoradi/React-IBAN-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirezawmoradi%2FReact-IBAN-Generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["custom-hooks-in-react","iban-generate","npm-package","react","typescript"],"created_at":"2025-05-22T06:14:11.218Z","updated_at":"2026-04-30T12:34:09.975Z","avatar_url":"https://github.com/Alirezawmoradi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-IBAN-Generator\n\nA lightweight and easy-to-use custom hook for converting Account Number to IBAN Code in React applications.\n\n## Installation\n\nYou can install the package via npm:\n\n```bash\nnpm install use-iban-generator\n```\n\n## Usage\n\n### Import\n\nImport the `{AccountType, useIBANGenerator}` hook into your component:\n\n```jsx\nimport {AccountType, useIBANGenerator} from \"react-iban-generator\";\n```\n\n### Use in Component\n\nUse the `useIBANGenerator` hook in your component:\n\n```jsx\n    const iban = useIBANGenerator({\n        accountNumber: 'account number',\n        accountType: AccountType.seporde or AccountType.tashilat,\n        bankId: 'Id of your bank',\n        countryCode: 'IR'\n    });\n\n```\n\n## Parameters\n\n- `accountNumber`: A string representing the account number.\n- `accountType`: An enum representing the account type.\n- `bankId`: A string representing the bank identifier.\n- `countryCode`: A string representing the country code.\n\n## Bank IDs Reference\n\nIf you are looking for the ID of a specific bank, you can find it in the list below:\n\n- **آینده (Ayandeh Bank)**\n    - ID: \"062\"\n\n- **اقتصاد نوین (Eghtesad Novin Bank)**\n    - ID: \"055\"\n\n- **کارآفرین (Karafarin Bank)**\n    - ID: \"053\"\n\n- **کشاورزی (Keshavarzi Bank)**\n    - ID: \"016\"\n\n- **مسکن (Maskan Bank)**\n    - ID: \"014\"\n\n- **ملی (Melli Bank)**\n    - ID: \"017\"\n\n- **ملت (Mellat Bank)**\n    - ID: \"012\"\n\n- **پارسیان (Parsian Bank)**\n    - ID: \"054\"\n\n- **پاسارگاد (Pasargad Bank)**\n    - ID: \"057\"\n\n- **پست بانک (Post Bank)**\n    - ID: \"021\"\n\n- **رفاه (Refah Bank)**\n    - ID: \"013\"\n\n- **صادرات (Saderat Bank)**\n    - ID: \"019\"\n\n- **سامان (Saman Bank)**\n    - ID: \"021\"\n\n- **صنعت معدن (Sanat Madan Bank)**\n    - ID: \"022\"\n\n- **سرمایه (Sarmaye Bank)**\n    - ID: \"058\"\n\n- **سپه (Sepah Bank)**\n    - ID: \"015\"\n\n\n## Contributing\n\nContributions are welcome! Feel free to submit issues and pull requests.\n\n## License\n\nThis package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirezawmoradi%2Freact-iban-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falirezawmoradi%2Freact-iban-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirezawmoradi%2Freact-iban-generator/lists"}