23 packages found
Get the visual width of a string - the number of columns required to display it
Calculates the width of a string, where halfwidth characters count as 1, and fullwidth characters count as 2.
Check if the character represented by a given Unicode code point is fullwidth
mb_strimwidth ported to JavaScript. Truncates string to specified width, where halfwidth characters count as 1, and fullwidth characters count as 2.
Get the visual width of the widest line in a string - the number of columns required to display it
Break string into lines according to visual width.
- break
- string
- fixed-width
- chinese
- console
- terminal
- command-line
- cli
- escape
- ansi
- full-width
- fullwidth
- columns
- column
- View more
A javascript implementation of full-width and half-width unicode character detector.
some util function about hanzi. (一些處理漢字的函式工具)
A toolkit to validate Japanese characters
- japanese
- characters
- moji
- kana
- kanji
- hiragana
- cjk
- validator
- javascript
- typescript
- unified
- ideographs
- regex
- utility
- View more
Get the visual width of the widest line in a array of strings - the number of columns required to display it
Get the visual width of a string - the number of columns required to display it
a regexp-cjk plugin demo for regexp-cjk ( 自動配對 五十音的清/濁音 , 半形/全形 , deburr )
- char
- character
- characters
- chinese
- cjk
- cn
- cn2tw
- codepage
- conv
- conversion
- convert
- deburr
- fullwidth
- halfwidth
- View more
convert full/half width, Chinese/Japanese number, 中日漢字轉換... others util helper
globby with sort id/chinese/fullwidth number for node-novel
- alphanum
- alphanumeric
- chinese
- cmp
- compare
- comparison
- fullwidth
- glob
- globby
- jp
- natcmp
- natsort
- natural
- node-novel
- View more
Get the visual width of a string - the number of columns required to display it
Break string into lines according to visual width
- break
- string
- fixed-width
- korean
- japanese
- chinese
- cjk
- console
- terminal
- command-line
- cli
- codes
- escape
- ansi
- View more
String conversion toolkit for the browser and nodejs.
> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
A Tailwindcss plugin to provide a means to force an element to take the full width of the screen