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

    Function objectIdFrom

    • An object id from what a user pastes: the 32-character id, or a link to a DDB object page (…/item/<id>) or to the API (…/items/<id>/…), whose id segment is taken. The id is then checked as the client checks it (32 upper-case letters and digits; a lower-cased one gets its upper-case form suggested, never taken silently: ids are case sensitive).

      Parameters

      • input: string

      Returns string