1.0.3 โ€ข Published 3 years ago

text-segmentation v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

text-segmentation

CI NPM Downloads NPM Version

A JavaScript library for Grapheme Breaking and identifying Grapheme Boundaries, implementing the Unicode Line Breaking Algorithm (UAX #29)

Installing

You can install the module via npm:

npm install text-segmentation

Example

import {splitGraphemes} from 'text-segmentation';

const graphemes =  splitGraphemes('Hello ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ!');

Testing

You can run the test suite with:

npm test

The library implements all the GraphemeBreakTest.txt tests.

@infinitebrahmanuniverse/nolb-text-@everything-registry/sub-chunk-2930@loveklee/html2canvasnehtml2canvashcanvasertake-shotszh-html2canvassynapsor-html2canvassg-html2canvas@uf-dev/html2canvasmaitao-html2canvask-utils-html2canvashtmlscreenshots15htmltocanvas-plushtml2canvashtml2canvas-90dchtml2canvas-adaptedhtml2canvas-add-mix-blend-modehtml2canvas-containhtml2canvas-copyhtml2canvas-ctfohtml2canvas-dweihtml2canvas-fitcontainhtml2canvas-fix-oklchhtml2canvas-with-oklchhtml2canvas-xxyhtml2canvas_fix_wechathtml2canvaslatesthtml2canvas-kkhtml2canvas-lchhtml2canvas-nexthtml2canvas-plushtml2canvas-prehtml2canvas-prohtml2canvas-strengthenhtml2canvas-support-cssjason2canvaslz-html2canvaspaul2-html2canvaspaul-html2canvasnanwangpxmage-html2canvas-tweak@airbridge/html2canvas@albertocruzluis/html2canvas@banjobs/html2canvas@cantoo/html2canvas@cedar-kr/html2canvas@censujiang/html2canvas@0x170818/html2canvas@bonio-tw/html2canvasyangsen-html2canvasviolet-html2canvas@iam4x/html2canvas@html2canvas/html2canvas@huhuang03/html2canvas@hunterhod/html2canvas@igron-games/html2canvas@genkaok/html2canvas@gitee/html2canvas@inner-desktop/html2canvas@nbsdev/html2canvas@namehash/nameguard-js@karankeswani99/html2canvas@jsplumb/html2canvas@strongberry/html2canvas@shilim-developer/html2canvas@reiiyuki/html2canvas@seiryisablock/html2canvas@crlang/html2canvas@deepnotes/html2canvas@c29429768/html2canvas@ppchart/html2canvas@persagy2/html2canvas@xuannghia/html2canvas@whowasme/html2canvas@your_dead_end/html2canvas@wtto00/html2canvas@twonull/html2canvas@vercel/satori-core@tobyond/html2canvasdjango-html2canvasef-h5bay1ts_html2canvasc-html2canvascuihtml2canvasfs-html2canvas
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago