https://github.com/ourway/ex_persian
Converts Arabic/NonPersian characters to pure Persian
https://github.com/ourway/ex_persian
characters converter elixir farsi iran languages persian
Last synced: 11 months ago
JSON representation
Converts Arabic/NonPersian characters to pure Persian
- Host: GitHub
- URL: https://github.com/ourway/ex_persian
- Owner: ourway
- Created: 2017-07-19T18:42:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T11:45:15.000Z (over 7 years ago)
- Last Synced: 2025-06-29T05:16:06.294Z (12 months ago)
- Topics: characters, converter, elixir, farsi, iran, languages, persian
- Language: Elixir
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Persian
## Installation
Add the following to your mix.exs file
```elixir
def deps do
[{:persian, "~> 0.1.3"}]
end
```
## Usage
```elixir
word = "مرسي ؤ مٍمنون"
word |> Persian.fix
"مرسی و ممنون"
```