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

    Function normalizeSearchParams

    • Search parameters in the form the API accepts: sw through normalizeText, orte through normalizePlaces, re through normalizeRegions, uk through normalizeRadius, ids through normalizeIds, bt through normalizeStartCodes and bart through normalizeToken (string values, also inside an array); everything else unchanged. Returns a new object. search() applies it before validateSearchParams, so re: " nrw" and uk: "bundesweit" are sent as NRW and Bundesweit, as the CLI sends them.

      Parameters

      Returns AusbildungSearchParams