UNPKG

gmx-word-counter

Version:

Fast, GMX-V compliant word and character counter. Can count both logographic and non-logographic languages correctly. Also supports generic counting for cases when language is unknown.

8 lines (7 loc) 498 B
export declare function isWhitespaceCp(codePoint: number): boolean; export declare function isApostrophe(symbol: string): symbol is "'" | "’"; export declare function isApostropheCp(codepoint: number): boolean; export declare function isHyphen(symbol: string): symbol is "-" | "‐" | "֊" | "゠"; export declare function isHyphenCp(codepoint: number): boolean; export declare function isPunctuation(symbol: string): boolean; export declare function isPunctuationCp(codepoint: number): boolean;