@neutrium/utilities - v5.0.0
    Preparing search index...

    Interface TokenCursorOptions

    Resource bounds and optional original-source length. Requires a plain data record with known keys.

    interface TokenCursorOptions {
        end?: number;
        maxTokens?: number;
    }
    Index
    end?: number

    EOF offset including trailing whitespace. Otherwise the last token's end is used.

    maxTokens?: number

    Maximum emitted tokens; defaults to 4096. EOF does not count.