Preparing for system design interviews?  Try bugzed.com →

bidi-js: Unicode Bidirectional Algorithm

JSON →
library 1.0.3 ·javascript
verified Jun 17, 2026

The `bidi-js` package provides a pure JavaScript implementation of the Unicode Bidirectional Algorithm (UAX #9) version 13.0.0. It aims for correctness, small bundle size, and performance, having passed all Unicode conformance tests. Currently at version 1.0.3, it offers a stable API for calculating embedding levels, reordering segments, and identifying mirrored characters in mixed-direction text. It ships as ES5 compatible and has no external dependencies, making it suitable for both browser and Node.js environments. The library differentiates itself by providing a factory function for module initialization, allowing for flexible deployment, such as within web workers, and ensuring a self-contained module without closure dependencies.

total hits 21
actors 7 distinct systems
last hit 20d ago human
ByteDance
5
OAI-SearchBot
4
ChatGPT-User
2
Script
1
Search engines
2
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇵🇱 Poland · 🇪🇸 Spain