https://github.com/persian-tools/react-persian-tools
React wrapper component around Persian tools
https://github.com/persian-tools/react-persian-tools
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
Last synced: over 1 year ago
JSON representation
React wrapper component around Persian tools
- Host: GitHub
- URL: https://github.com/persian-tools/react-persian-tools
- Owner: persian-tools
- License: mit
- Created: 2020-10-11T12:10:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T02:15:48.000Z (over 2 years ago)
- Last Synced: 2025-04-13T06:16:22.665Z (over 1 year ago)
- 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
- Language: TypeScript
- Homepage: https://persian-tools.github.io/react-persian-tools/
- Size: 3.29 MB
- Stars: 35
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
react-persian-tools
React wrapper component around persian tools

[](https://codecov.io/gh/persian-tools/react-persian-tools)
[](https://github.com/persian-tools/react-persian-tools/blob/master/LICENSE)
[](https://github.com/persian-tools/react-persian-tools/compare)
[](https://www.codefactor.io/repository/github/persian-tools/react-persian-tools/overview/master)
[](https://www.npmjs.com/package/react-persian-tools)
[](https://persian-tools.github.io/react-persian-tools/)
[](https://GitHub.com/persian-tools/react-persian-tools/contributors/)
## Demo
https://persian-tools.github.io/react-persian-tools/

## Install
```bash
npm install --save react-persian-tools
```
## Usage
```tsx
import React, { Component } from 'react'
import PersianTools from 'react-persian-tools'
class Example extends Component {
render() {
return (
<>
منفی سه هزارمین
یگصد و بنجاه هزار
500,443
500,443
30000000
30,000,000
٠١٢٣٤٥٦٧٨٩
٠١٢٣٤٥٦٧٨٩
123۴۵۶
123۴۵۶
>
)
}
}
```
## Contributing
Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.
## License
This 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.