@lacunahub/lavaluna.js
    Preparing search index...

    Interface LavalunaOptions

    interface LavalunaOptions {
        clientId?: string;
        clientName?: string;
        defaultSearchPlatform?: string;
        nodes: NodeOptions[];
        send(id: string, payload: LavalunaOptionsSendPayload): void;
    }
    Index

    Properties

    clientId?: string

    The client ID to use.

    clientName?: string

    Value to use for the Client-Name header.

    defaultSearchPlatform?: string

    The default search platform to use, can be "ytsearch", "ytmsearch", "scsearch", or your custom.

    nodes: NodeOptions[]

    The array of nodes to connect to.

    Methods