@maschinenlesbar.org/deutsche-digitale-bibliothek-cli
    Preparing search index...

    Function splitList

    • The items of a comma-separated list (--fields id,label), as typed: each item is checked (listProblem) and canonicalised (normalizeToken) on its own, so "id, label" sends label, and "id,,label", "id," and "," are refused rather than sent with an empty item.

      Parameters

      • value: string

      Returns string[]