Tela SDK for JavaScript
    Preparing search index...

    Type Alias BaseTelaFileOptions

    Configuration options for TelaFile.

    type BaseTelaFileOptions = {
        name?: string;
        parserType?: string;
        range?: [number, number];
    }
    Index

    Properties

    name?: string

    Defines the name of the file. If content is an instance of File or Blob, this will override the name property of the content.

    parserType?: string

    Defines the parser provider to be used for the file.

    range?: [number, number]

    Defines the page range of the document to be processed.

    Specifies the range of pages to process, starting from startPage to endPage, inclusive, 0-indexed.

    const file = new TelaFile(fileStream, {
    range: [0, 1],
    })