@maschinenlesbar.org/fragdenstaat-cli
    Preparing search index...

    Function normalizeText

    • A free-text value as the API matches it (a search term, a name filter): without surrounding whitespace (a value pasted with a trailing space matched nothing) and in composed Unicode, NFC (a decomposed "Müller", u plus U+0308 as pasted from a macOS file name, matched nothing). Inner whitespace is kept. Check it with textProblem first. Slugs, references, codes and dates are tokens (normalizeToken), trimmed and in NFC too.

      Parameters

      • value: string

      Returns string