@blockchaincommons/dcbor - v1.0.0-beta.3
    Preparing search index...

    Interface DiagFormatOpts

    Options for diagnostic formatting.

    interface DiagFormatOpts {
        annotate?: boolean;
        summarize?: boolean;
        flat?: boolean;
        tags?: TagsStoreOpt;
    }
    Index
    annotate?: boolean

    Add tag names as annotations. When true, a tagged value whose tag has a name in the store is followed by a / name / comment, e.g. 1(1675854714) / date /.

    false
    
    summarize?: boolean

    Use custom summarizers for tagged values. When true, calls registered summarizers for tagged values. Implies flat.

    false
    
    flat?: boolean

    Single-line (flat) output. When true, arrays and maps are formatted without line breaks.

    false
    

    Tag store to use for tag name resolution.

    • TagsStore instance: use this specific store
    • 'global': use global singleton store
    • 'none': don't resolve names; print bare tag numbers
    'global'