@metreeca/qest - v0.10.0
    Preparing search index...

    Type Alias EncoderOpts

    Configuration options for encoding operations.

    type EncoderOpts = {
        base?: IRI;
        indent?: boolean | number;
    }
    Index

    Properties

    Properties

    base?: IRI

    Base IRI for IRI internalisation (must be absolute and hierarchical).

    Converts absolute IRIs to internal (root-relative) form.

    If omitted, IRIs are internalised against app.

    indent?: boolean | number

    Indentation level for pretty-printing encoded output.

    • When true, uses default indentation
    • When a positive number, indents with that many spaces
    • When false or a number less than or equal to 0, disables indentation

    If omitted, output is not indented.