Nyora (JavaScript) - v0.1.1
    Preparing search index...

    Class Nyora

    Default no-helper Nyora SDK client.

    Drives an embedded ParserRuntime (the JavaScript parser bundle inside jsdom) entirely in-process, so it requires neither a JVM helper nor any external service. The parser bundle and source catalog are kept current through the attached OtaManager (this.ota).

    const client = new Nyora();
    const source = client.sources.find("mangadex");
    const page = await client.manga.popular(source.id);
    const details = await client.manga.details(source.id, page.entries[0].url);
    client.close();
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Over-the-air manager for the parser bundle and source catalog.

    Service for listing and finding sources.

    Service for browsing, search, and details.

    Methods

    • Fetch the latest OTA parser bundle and reload the runtime.

      Parameters

      • options: { force?: boolean } = {}

        Update options.

        • Optionalforce?: boolean

          Re-download and reload even if the installed version is already current.

      Returns Promise<OtaUpdateResult>

      The OtaUpdateResult describing the applied update (updated is false when already up to date).

    • Close the embedded parser runtime and release its resources.

      Returns void