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

    Function resolveState

    • The feed's slug for a Land given as its slug, its name (any case, with or without umlauts or hyphens), its code (BY, NRW) or its English name (Bavaria). Anything else is a validation error that lists the Länder: the feed answers an unknown slug with an error, never with all warnings.

      Parameters

      • text: string

      Returns
          | "badenwuerttemberg"
          | "bayern"
          | "berlin"
          | "brandenburg"
          | "bremen"
          | "hamburg"
          | "hessen"
          | "mecklenburgvorpommern"
          | "niedersachsen"
          | "nordrheinwestfalen"
          | "rheinlandpfalz"
          | "saarland"
          | "sachsen"
          | "sachsenanhalt"
          | "schleswigholstein"
          | "thueringen"