You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,19 @@
7
7
8
8
A lightweight implementation of the [Unicode Text Segmentation (UAX \#29)](https://www.unicode.org/reports/tr29)
9
9
10
-
-**Verified spec-compliance**: Up-to-date Unicode data, passes the official Unicode test suites, verifies full compliance with the `Intl.Segmenter` API via additional property-based testing, maintaining 100% coverage.
10
+
-**Spec compliant**: Up-to-date Unicode data, verified by the official Unicode test suites and fuzzed with the native `Intl.Segmenter`, and maintaining 100% test coverage.
11
11
12
-
-**Excellent compatibility**: It works well on older browsers, edge runtimes, and React Native (Hermes).
12
+
-**Excellent compatibility**: It works well on older browsers, edge runtimes, React Native (Hermes) and QuickJS.
13
13
14
-
-**Zero-dependencies**: It doesn't bloat `node_modules` or the networks tab. Just a small minimal snippet.
14
+
-**Zero-dependencies**: It doesn't bloat `node_modules` or the network bandwidth. Like a small minimal snippet.
15
15
16
-
-**Small bundle size**: It effectively compresses Unicode data and provides a tree-shakeable format, eliminating unused codes.
16
+
-**Small bundle size**: It effectively compresses the Unicode data and provides a bundler-friendly format.
17
17
18
-
-**Extremely efficient**: It's carefully optimized for performance, making it the fastest one in the ecosystem—outperforming even the built-in `Intl.Segmenter`.
18
+
-**Extremely efficient**: It's carefully optimized for runtime performance, making it the fastest one in the ecosystem—outperforming even the built-in `Intl.Segmenter`.
19
19
20
20
-**TypeScript**: It's fully type-checked, and provides type definitions and JSDoc.
21
21
22
-
-**ESM-first**: It natively supports ES Modules, and still supports CommonJS.
22
+
-**ESM-first**: It primarily supports ES modules, and still supports CommonJS.
23
23
24
24
> [!NOTE]
25
25
> unicode-segmenter is now **[e18e] recommendation!**
@@ -42,7 +42,7 @@ And extra utilities for combined use cases.
42
42
43
43
-[`unicode-segmenter/emoji`](#export-unicode-segmenteremoji): Matches single codepoint emojis
44
44
-[`unicode-segmenter/general`](#export-unicode-segmentergeneral): Matches single codepoint alphanumerics
0 commit comments