trilium
    Preparing search index...
    interface Cheerio {
        cheerio: string;
        length: number;
        "[iterator]"(): IterableIterator<Element>;
        add(selectorOrHtml: string): Cheerio;
        add(selector: string, context: Document): Cheerio;
        add(element: Element): Cheerio;
        add(elements: Element[]): Cheerio;
        add(selection: Cheerio): Cheerio;
        addBack(): Cheerio;
        addBack(filter: string): Cheerio;
        addClass(classNames: string): Cheerio;
        after(content: string, ...contents: any[]): Cheerio;
        after(content: Document, ...contents: any[]): Cheerio;
        after(content: Document[], ...contents: any[]): Cheerio;
        after(content: Cheerio, ...contents: any[]): Cheerio;
        append(content: string, ...contents: any[]): Cheerio;
        append(content: Document, ...contents: any[]): Cheerio;
        append(content: Document[], ...contents: any[]): Cheerio;
        append(content: Cheerio, ...contents: any[]): Cheerio;
        appendTo(target: Cheerio): Cheerio;
        attr(): { [attr: string]: string };
        attr(name: string): undefined | string;
        attr(name: string, value: AttrFunction): Cheerio;
        attr(name: string, value: string): Cheerio;
        attr(map: { [key: string]: any }): Cheerio;
        before(content: string, ...contents: any[]): Cheerio;
        before(content: Document, ...contents: any[]): Cheerio;
        before(content: Document[], ...contents: any[]): Cheerio;
        before(content: Cheerio, ...contents: any[]): Cheerio;
        children(selector?: string): Cheerio;
        clone(): Cheerio;
        closest(): Cheerio;
        closest(selector: string): Cheerio;
        contents(): Cheerio;
        css(propertyName?: string): string;
        css(propertyNames: string[]): string[];
        css(propertyName: string, value: string): Cheerio;
        css(propertyName: string, value: number): Cheerio;
        css(
            propertyName: string,
            func: (index: number, value: string) => string,
        ): Cheerio;
        css(
            propertyName: string,
            func: (index: number, value: string) => number,
        ): Cheerio;
        css(properties: Object): Cheerio;
        data(): any;
        data(name: string): any;
        data(name: string, value: any): any;
        each(func: (index: number, element: Element) => any): Cheerio;
        empty(): Cheerio;
        end(): Cheerio;
        eq(index: number): Cheerio;
        filter(selector: string): Cheerio;
        filter(selection: Cheerio): Cheerio;
        filter(element: Element): Cheerio;
        filter(elements: Element[]): Cheerio;
        filter(func: (index: number, element: Element) => boolean): Cheerio;
        find(selector: string): Cheerio;
        find(element: Cheerio): Cheerio;
        first(): Cheerio;
        get(): any[];
        get(index: number): any;
        has(selector: string): Cheerio;
        has(element: Element): Cheerio;
        hasClass(className: string): boolean;
        html(): null | string;
        html(html: string): Cheerio;
        index(): number;
        index(selector: string): number;
        index(selection: Cheerio): number;
        insertAfter(content: string): Cheerio;
        insertAfter(content: Document): Cheerio;
        insertAfter(content: Cheerio): Cheerio;
        insertBefore(content: string): Cheerio;
        insertBefore(content: Document): Cheerio;
        insertBefore(content: Cheerio): Cheerio;
        is(selector: string): boolean;
        is(element: Element): boolean;
        is(element: Element[]): boolean;
        is(selection: Cheerio): boolean;
        is(func: (index: number, element: Element) => boolean): boolean;
        last(): Cheerio;
        map(func: (index: number, element: Element) => any): Cheerio;
        next(selector?: string): Cheerio;
        nextAll(): Cheerio;
        nextAll(selector: string): Cheerio;
        nextUntil(selector?: string, filter?: string): Cheerio;
        nextUntil(element: Element, filter?: string): Cheerio;
        nextUntil(element: Cheerio, filter?: string): Cheerio;
        not(selector: string): Cheerio;
        not(selection: Cheerio): Cheerio;
        not(element: Element): Cheerio;
        not(func: (index: number, element: Element) => boolean): Cheerio;
        parent(selector?: string): Cheerio;
        parents(selector?: string): Cheerio;
        parentsUntil(selector?: string, filter?: string): Cheerio;
        parentsUntil(element: Element, filter?: string): Cheerio;
        parentsUntil(element: Cheerio, filter?: string): Cheerio;
        prepend(content: string, ...contents: any[]): Cheerio;
        prepend(content: Document, ...contents: any[]): Cheerio;
        prepend(content: Document[], ...contents: any[]): Cheerio;
        prepend(content: Cheerio, ...contents: any[]): Cheerio;
        prependTo(target: Cheerio): Cheerio;
        prev(selector?: string): Cheerio;
        prevAll(): Cheerio;
        prevAll(selector: string): Cheerio;
        prevUntil(selector?: string, filter?: string): Cheerio;
        prevUntil(element: Element, filter?: string): Cheerio;
        prevUntil(element: Cheerio, filter?: string): Cheerio;
        prop(name: string): any;
        prop(name: string, value: any): Cheerio;
        remove(selector?: string): Cheerio;
        removeAttr(name: string): Cheerio;
        removeClass(): Cheerio;
        removeClass(className: string): Cheerio;
        removeClass(func: (index: number, className: string) => string): Cheerio;
        replaceWith(content: string): Cheerio;
        replaceWith(content: Element): Cheerio;
        replaceWith(content: Element[]): Cheerio;
        replaceWith(content: Cheerio): Cheerio;
        replaceWith(content: () => Cheerio): Cheerio;
        serialize(): string;
        serializeArray(): { name: string; value: string }[];
        siblings(selector?: string): Cheerio;
        slice(start: number, end?: number): Cheerio;
        text(): string;
        text(text: string): Cheerio;
        toArray(): Element[];
        toggleClass(className: string): Cheerio;
        toggleClass(className: string, toggleSwitch: boolean): Cheerio;
        toggleClass(toggleSwitch?: boolean): Cheerio;
        toggleClass(
            func: (
                index: number,
                className: string,
                toggleSwitch: boolean,
            ) => string,
            toggleSwitch?: boolean,
        ): Cheerio;
        val(): string;
        val(value: string): Cheerio;
        wrap(content: string): Cheerio;
        wrap(content: Document): Cheerio;
        wrap(content: Cheerio): Cheerio;
        [index: number]: Element;
    }

    Indexable

    Index

    Properties

    cheerio: string
    length: number

    Methods

    • Parameters

      • selectorOrHtml: string

      Returns Cheerio

    • Parameters

      • selector: string
      • context: Document

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Returns Cheerio

    • Parameters

      • filter: string

      Returns Cheerio

    • Parameters

      • classNames: string

      Returns Cheerio

    • Parameters

      • content: string
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document[]
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • content: string
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document[]
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Returns { [attr: string]: string }

    • Parameters

      • name: string

      Returns undefined | string

    • Parameters

      Returns Cheerio

    • Parameters

      • name: string
      • value: string

      Returns Cheerio

    • Parameters

      • map: { [key: string]: any }

      Returns Cheerio

    • Parameters

      • content: string
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document[]
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Returns Cheerio

    • Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Returns Cheerio

    • Parameters

      • OptionalpropertyName: string

      Returns string

    • Parameters

      • propertyNames: string[]

      Returns string[]

    • Parameters

      • propertyName: string
      • value: string

      Returns Cheerio

    • Parameters

      • propertyName: string
      • value: number

      Returns Cheerio

    • Parameters

      • propertyName: string
      • func: (index: number, value: string) => string

      Returns Cheerio

    • Parameters

      • propertyName: string
      • func: (index: number, value: string) => number

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Returns any

    • Parameters

      • name: string

      Returns any

    • Parameters

      • name: string
      • value: any

      Returns any

    • Parameters

      • func: (index: number, element: Element) => any

      Returns Cheerio

    • Returns Cheerio

    • Returns Cheerio

    • Parameters

      • index: number

      Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • func: (index: number, element: Element) => boolean

      Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Returns Cheerio

    • Returns any[]

    • Parameters

      • index: number

      Returns any

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • className: string

      Returns boolean

    • Returns null | string

    • Parameters

      • html: string

      Returns Cheerio

    • Returns number

    • Parameters

      • selector: string

      Returns number

    • Parameters

      Returns number

    • Parameters

      • content: string

      Returns Cheerio

    • Parameters

      • content: Document

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • content: string

      Returns Cheerio

    • Parameters

      • content: Document

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • selector: string

      Returns boolean

    • Parameters

      Returns boolean

    • Parameters

      Returns boolean

    • Parameters

      Returns boolean

    • Parameters

      • func: (index: number, element: Element) => boolean

      Returns boolean

    • Returns Cheerio

    • Parameters

      • func: (index: number, element: Element) => any

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      • Optionalselector: string
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Element
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Cheerio
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • func: (index: number, element: Element) => boolean

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Parameters

      • Optionalselector: string
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Element
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Cheerio
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • content: string
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      • content: Document[]
      • ...contents: any[]

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Returns Cheerio

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      • Optionalselector: string
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Element
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • element: Cheerio
      • Optionalfilter: string

      Returns Cheerio

    • Parameters

      • name: string

      Returns any

    • Parameters

      • name: string
      • value: any

      Returns Cheerio

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Parameters

      • name: string

      Returns Cheerio

    • Returns Cheerio

    • Parameters

      • className: string

      Returns Cheerio

    • Parameters

      • func: (index: number, className: string) => string

      Returns Cheerio

    • Parameters

      • content: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Returns string

    • Returns { name: string; value: string }[]

    • Parameters

      • Optionalselector: string

      Returns Cheerio

    • Parameters

      • start: number
      • Optionalend: number

      Returns Cheerio

    • Returns string

    • Parameters

      • text: string

      Returns Cheerio

    • Returns Element[]

    • Parameters

      • className: string

      Returns Cheerio

    • Parameters

      • className: string
      • toggleSwitch: boolean

      Returns Cheerio

    • Parameters

      • OptionaltoggleSwitch: boolean

      Returns Cheerio

    • Parameters

      • func: (index: number, className: string, toggleSwitch: boolean) => string
      • OptionaltoggleSwitch: boolean

      Returns Cheerio

    • Returns string

    • Parameters

      • value: string

      Returns Cheerio

    • Parameters

      • content: string

      Returns Cheerio

    • Parameters

      • content: Document

      Returns Cheerio

    • Parameters

      Returns Cheerio