unorm_dart
0.3.3, released 7 weeks ago by codingfeline.com
Unicode normalization for Dart supporting NFC, NFD, NFKC, and NFKD forms.
What it does
Provides functions for Unicode normalization (NFC, NFD, NFKC, NFKD) based on the Unicode Standard. It is a Dart port of the walling/unorm library.
AI-written summary of version 0.3.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to normalize Unicode strings to specific forms (NFC, NFD, NFKC, NFKD).
- You are processing text input that may have different Unicode representations for identical characters.
Skip it when
- You do not work with multi-language text or complex Unicode character compositions.
Strengths
- Supports multiple Unicode normalization forms: NFC, NFD, NFKC, and NFKD.
- Up-to-date with recent Unicode specifications.
- No external dependencies.
Weaknesses
- Limited to Unicode normalization functions only.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import "package:unorm_dart/unorm_dart.dart" as unorm;
void main() {
var text = "The \u212B symbol invented by A. J. \u00C5ngstr\u00F6m";
print("NFC: ${unorm.nfc(text)}");
}Alternatives
Packages that do the same job and could replace unorm_dart.
- exif_reader
Decode EXIF metadata from various image formats in Dart, Web, and Flutter.
73Compare - dart_earcut
Performant ear-clipping polygon triangulation algorithm
51Compare - zxcvbn
Dart port of Dropbox's zxcvbn password strength estimator library.
50Compare - unicode
Library providing Unicode character utilities and emoji data generated from Unicode 17.0.0
54Compare
Works with
Packages commonly used together with unorm_dart: ones it builds on, ones built on it, and its own family.
- mailerBuilt on unorm_dartSend emails via SMTP with support for HTML, attachments, and TLS.
- canonical_jsonBuilt on unorm_dartEncoder and decoder for canonical JSON format useful for cryptographic hashing and signing.
- bip39_mnemonicBuilt on unorm_dartGenerate and manage BIP39 mnemonic codes and deterministic keys in Dart.
- stellar_flutter_sdkBuilt on unorm_dartStellar SDK for Flutter to query Horizon and Soroban RPC, and manage transactions.