toip.tools

interface · Browser and Node

DecodeCborOptions

@toip-tools/coseView source
TypeScriptImport
import { type DecodeCborOptions } from "@toip-tools/cose";

Declaration

TypeScriptinterface
interface DecodeCborOptions {
  /** Reject encodings that are not deterministic. Default true. */
  strict?: boolean;
  /** Return every map as a `Map`, even text-keyed ones. Default false. */
  useMaps?: boolean;
}

Properties

strictoptional
boolean | undefined

Reject encodings that are not deterministic. Default true.

useMapsoptional
boolean | undefined

Return every map as a Map, even text-keyed ones. Default false.