Skip to main content
Glama
Graphemer.d.tsโ€ข1.39 kB
import GraphemerIterator from './GraphemerIterator'; export default class Graphemer { /** * Returns the next grapheme break in the string after the given index * @param string {string} * @param index {number} * @returns {number} */ static nextBreak(string: string, index: number): number; /** * Breaks the given string into an array of grapheme clusters * @param str {string} * @returns {string[]} */ splitGraphemes(str: string): string[]; /** * Returns an iterator of grapheme clusters in the given string * @param str {string} * @returns {GraphemerIterator} */ iterateGraphemes(str: string): GraphemerIterator; /** * Returns the number of grapheme clusters in the given string * @param str {string} * @returns {number} */ countGraphemes(str: string): number; /** * Given a Unicode code point, determines this symbol's grapheme break property * @param code {number} Unicode code point * @returns {number} */ static getGraphemeBreakProperty(code: number): number; /** * Given a Unicode code point, returns if symbol is an extended pictographic or some other break * @param code {number} Unicode code point * @returns {number} */ static getEmojiProperty(code: number): number; } //# sourceMappingURL=Graphemer.d.ts.map

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/consigcody94/office-whisperer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server