olutter/bidi
https://unicode.org/reports/tr9/ में वर्णित यूनिकोड बाइडिरेक्शनल एल्गोरिथम (UBA) का कार्यान्वयन।
- Stars
- 5
- Forks
- 6
- अंतिम पुश (UTC)
- 16 सित॰ 2025
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँDartHTMLSwiftKotlinObjective-C
तकनीकी विषय
उपयोग की गई निर्भरताएँ
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
Implementation of the Unicode Bidirectional Algorithm (UBA).
Reference: https://unicode.org/reports/tr9/.
Converts logical strings to their equivalent visual representation. Persian, Hebrew and Arabic languages (and any other RTL language) are supported.
Web Demo
Getting Started
In your pubspec.yaml file add:
dependencies:
bidi: any
Then, in your code import and use the package:
import 'package:bidi/bidi.dart' as bidi;
final visual = bidi.logicalToVisual('نوشته پارسی اینجا گذارده شود.');
print(visual);
Other Implementations
This package is also written in Rust (apart from this package, which is written in Dart). If you are looking for a pure Rust implementation of this package, look at https://crates.io/crates/bidi/.