unicode-properties

Provides fast access to unicode character properties (by PerBothner)

Unicode-properties Alternatives

Similar projects and alternatives to unicode-properties

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better unicode-properties alternative or higher similarity.

unicode-properties reviews and mentions

Posts with mentions or reviews of unicode-properties. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-28.
  • Terminal support for Emoji – or why terminals don't like families
    6 projects | news.ycombinator.com | 28 Jan 2022
    DomTerm (https://domterm.org) does a pretty good job IMNSO. See screenshot here: https://domterm.org/Features.html . DomTerm mostly delegates to the browser and the font how to compose extended Grapheme Clusters.

    Unfortunately, as far as I know there is no "complete" monospace font set that handles emoji. Ideally, you want a font with two character widths, with double-width for emoji, hanji (CJK characters), and similar. Instead the browser will substitute these characters from some variable-width font, and then the spacing will be off.

    DomTerm handles this by putting double-width characters as well as Extended Grapheme Clusters in a separate span that is forced to have the correct width. I created a library https://github.com/PerBothner/unicode-properties based on other people's code but optimized for DomTerm's needs: It provides both East Asian Width (for recognizing double-width characters) and character classes (for grapheme clusters) in a single efficient trie structure.

    The DomTerm equivalent of tmux's "select mode" is grapheme-cluster-aware, so left/right-arrow will correct move over an entire grapheme cluster.

Stats

Basic unicode-properties repo stats
1
0
2.8
9 months ago

PerBothner/unicode-properties is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of unicode-properties is JavaScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com