# tokenize (@salmonui/mcp)

> The tokenize function of @salmonui/mcp: Lower-case word stems of a text. Identifiers also yield their camelCase and kebab-case parts (onValueChange -> onvaluechange, on, value, change).

Canonical: https://salmonui.dev/docs/reference/mcp/tokenize

```ts
import { tokenize } from '@salmonui/mcp';
```

Entry index: https://salmonui.dev/docs/reference/mcp (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/mcp.md).

## Reference

Kind: function

```ts
function tokenize(text: string): string[];
```

Lower-case word stems of a text. Identifiers also yield their camelCase and
kebab-case parts (`onValueChange` -> `onvaluechange`, `on`, `value`, `change`).
