# normalizeText

Source: https://pakdatakit.dev/api/typescript/text/functions/normalizetext/

```ts
function normalizeText(text): string;
```

Defined in: [text.ts:34](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/text.ts#L34)

Normalizes general text: trims, collapses whitespace, and applies Unicode NFC.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `text` | `string` | Input text |

## Returns

`string`

Normalized text
