turkish-kit
(anadil)
A dependency-free library for correct Turkish suffixes, dates, money, phones, addresses, validation, sorting and slugs.
- Line
- Tools
- Status
- Under construction
- Years
- 2026
- My role
- Author and sole developer
- Interchange
- Learning
Built with
- TypeScript
- Node.js
- SQLite (build pipeline)
- Vitest
turkish-kit fixes the things JavaScript silently gets wrong in Turkish: suffixes on place names and numbers (Bursa'da, Sinop'ta, 2026'da), İ/ı casing and sorting, reading numbers like 1.234,56, and format plus checksum validation for TC Kimlik, VKN, IBAN, phones and plates. It is pure, synchronous and never throws. It is built on a word database derived from public sources and is already used as a bundled package in a production client site.
This sticker isn't fully peeled yet: the project is still going.
Done so far
The suffix engine and the text, validation, number-to-words, formatting, date, money, phone, address and form modules are written and tested.
Next up
Settling the 562 words that still need a ruling, plus a backup plan, a check that compares builds, and a viewer tool.