{"id":20461339,"url":"https://github.com/persian-tools/react-persian-tools","last_synced_at":"2025-04-13T06:17:11.744Z","repository":{"id":41850810,"uuid":"303112586","full_name":"persian-tools/react-persian-tools","owner":"persian-tools","description":"React wrapper component around Persian tools","archived":false,"fork":false,"pushed_at":"2024-04-23T02:15:48.000Z","size":3451,"stargazers_count":35,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T06:16:22.665Z","etag":null,"topics":["card-number","code-melli","convert-numbers","convert-persian-number","fuzzy-matching","iban","iranian-national-id","numbet-to-words","persian-characters","persian-language","remove-commas","sheba","verify-bank-number","verify-national-id","words-to-numbers"],"latest_commit_sha":null,"homepage":"https://persian-tools.github.io/react-persian-tools/","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/persian-tools.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-10-11T12:10:04.000Z","updated_at":"2025-02-15T09:53:17.000Z","dependencies_parsed_at":"2024-04-23T04:16:20.232Z","dependency_job_id":"f2c55d1e-e394-44d0-b189-e17d9de6352f","html_url":"https://github.com/persian-tools/react-persian-tools","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"3c3e2fee9c02fe5e1b746f7efc1f6a141a4c23c8"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persian-tools%2Freact-persian-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persian-tools%2Freact-persian-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persian-tools%2Freact-persian-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/persian-tools%2Freact-persian-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/persian-tools","download_url":"https://codeload.github.com/persian-tools/react-persian-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670437,"owners_count":21142905,"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":["card-number","code-melli","convert-numbers","convert-persian-number","fuzzy-matching","iban","iranian-national-id","numbet-to-words","persian-characters","persian-language","remove-commas","sheba","verify-bank-number","verify-national-id","words-to-numbers"],"created_at":"2024-11-15T12:24:50.673Z","updated_at":"2025-04-13T06:17:11.718Z","avatar_url":"https://github.com/persian-tools.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"./images/logo.png\" width=\"200\" /\u003e\n\t\u003c/p\u003e\n\t\u003ch1 align=\"center\"\u003ereact-persian-tools\u003c/h1\u003e\n\t\u003cp align=\"center\"\u003eReact wrapper component around persian tools\u003c/p\u003e\n\n![CI/CD](https://github.com/persian-tools/react-persian-tools/workflows/Continuous%20Integration/badge.svg)\n[![codecov](https://codecov.io/gh/persian-tools/react-persian-tools/branch/master/graph/badge.svg)](https://codecov.io/gh/persian-tools/react-persian-tools)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/persian-tools/react-persian-tools/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](https://github.com/persian-tools/react-persian-tools/compare) \n[![CodeFactor](https://www.codefactor.io/repository/github/persian-tools/react-persian-tools/badge/master)](https://www.codefactor.io/repository/github/persian-tools/react-persian-tools/overview/master)\n[![NPM](https://img.shields.io/npm/v/@persian-tools/react-persian-tools.svg)](https://www.npmjs.com/package/react-persian-tools) \n[![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg)](https://persian-tools.github.io/react-persian-tools/)\n[![GitHub contributors](https://img.shields.io/github/contributors/persian-tools/react-persian-tools.svg)](https://GitHub.com/persian-tools/react-persian-tools/contributors/)\n\n\u003c/div\u003e\n\u003chr /\u003e\n\n## Demo\n\nhttps://persian-tools.github.io/react-persian-tools/\n\n![alt text](./images/demo.gif \"Preview\")\n\n## Install\n\n```bash\nnpm install --save react-persian-tools\n```\n\n## Usage\n\n```tsx\nimport React, { Component } from 'react'\n\nimport PersianTools from 'react-persian-tools'\n\nclass Example extends Component {\n  render() {\n    return (\n      \u003c\u003e\n        \u003cPersianTools.WordsToNumber\u003eمنفی سه هزارمین\u003c/PersianTools.WordsToNumber\u003e\n        \u003cPersianTools.WordsToNumber fuzzy\u003eیگصد و بنجاه هزار\u003c/PersianTools.WordsToNumber\u003e\n        \u003cPersianTools.NumberToWords\u003e500,443\u003c/PersianTools.NumberToWords\u003e\n        \u003cPersianTools.NumberToWords ordinal\u003e500,443\u003c/PersianTools.NumberToWords\u003e\n        \u003cPersianTools.AddCommas\u003e30000000\u003c/PersianTools.AddCommas\u003e\n        \u003cPersianTools.RemoveCommas\u003e30,000,000\u003c/PersianTools.RemoveCommas\u003e\n        \u003cPersianTools.DigitsArToEn\u003e٠١٢٣٤٥٦٧٨٩\u003c/PersianTools.DigitsArToEn\u003e\n        \u003cPersianTools.DigitsArToFa\u003e٠١٢٣٤٥٦٧٨٩\u003c/PersianTools.DigitsArToFa\u003e\n        \u003cPersianTools.DigitsEnToFa\u003e123۴۵۶\u003c/PersianTools.DigitsEnToFa\u003e\n        \u003cPersianTools.DigitsFaToEn\u003e123۴۵۶\u003c/PersianTools.DigitsFaToEn\u003e\n      \u003c/\u003e\n    )\n  }\n}\n```\n\n## Contributing\n\nThank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/persian-tools/react-persian-tools/blob/master/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersian-tools%2Freact-persian-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpersian-tools%2Freact-persian-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpersian-tools%2Freact-persian-tools/lists"}