persian-tools/persian-tools
A comprehensive, high-performance TypeScript toolkit for Persian (Farsi) text, numbers, validation, and locale utilities — works in Node.js, Bun, and the browser. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 94
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 180.5
- age_days: 2998
- days_rel: 269
- days_push: 41
- n_releases_24m: 3
Adoption not part of the score
1210 stars · 131 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A comprehensive, zero-dependency TypeScript toolkit with 27+ utilities for Persian (Farsi) text, numbers, and Iranian-specific validation such as national IDs, bank cards, and IBAN/Sheba. It is library-agnostic, tree-shakable, and runs in Node.js, Bun, and modern browsers.
Use cases
- convert persian numbers to words and back
- validate iranian national id (code melli)
- validate iranian bank card numbers and identify the bank
- validate iban/sheba account numbers
- convert persian arabic english digits
- format numbers with thousands separators in farsi apps
- validate iranian phone numbers and detect operator
- parse iranian vehicle license plates
When to choose
- building any Persian-language web or Node.js app needing number/text utilities
- validating Iranian national IDs, phone numbers, bank cards, or Sheba/IBAN in forms
- you need a lightweight, tree-shakable, typed library with no dependencies
When to avoid
- you need full NLP like stemming or machine translation for Persian
- your project is not JavaScript/TypeScript based
- you only need locale formatting already covered by Intl APIs
Facets
library · maturity active
nlp serialization form-handling fintech web-development developer-tools bun browser cross-platform persian farsi iranian-national-id sheba-iban bank-card-validation number-to-words digit-conversion tree-shakable zero-dependencies natural-language-processing localization nodejs typescript
5 sources
- readme: https://github.com/persian-tools/persian-tools · fetched 2026-08-28 · 26d109efbd71
- homepage: https://persian-tools.usestrict.dev · fetched 2026-08-29 · c15b8508553b
- site_page: https://persian-tools.usestrict.dev/getting-started/installation · fetched 2026-08-29 · 3c25fe3dc1f4
- site_page: https://persian-tools.usestrict.dev/getting-started/usage · fetched 2026-08-29 · 09f694a69fc1
- site_page: https://persian-tools.usestrict.dev/getting-started/examples · fetched 2026-08-29 · f300f5cbfa25
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| persian-tools/persian-tools | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="persian-tools/persian-tools")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem