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

    Module index

    Nyora SDK — the importable nyora library for Node.js.

    Nyora is a self-contained manga sources SDK. The default client (Nyora) embeds the JavaScript parser bundle inside a jsdom window via ParserRuntime, so it needs no JVM helper: HTTP is handled by Node's native fetch and HTML parsing by jsdom. The parser bundle and source catalog are kept current through OtaManager (over-the-air updates).

    The importable library and the separately shipped nyora-cli tool (which launches the terminal UI) are distinct: this module is the SDK surface.

    import { Nyora } from "nyora-sdk";

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

    Classes

    SourcesService
    MangaService
    Nyora
    NyoraError
    ParserRuntimeError
    HelperNotFoundError
    NyoraHTTPError
    OtaManager
    ParserRuntime

    Interfaces

    RuntimeLike
    CallArgs
    MangaPage
    MangaChapter
    Manga
    Source
    SearchPage
    MangaDetails
    OtaManifest
    OtaArtifact
    OtaUpdateResult
    OtaUpdateAvailability

    Type Aliases

    ParserMethod
    JsonDict

    Variables

    BASE_URL_ENV
    HELPER_PORT_FILE_ENV
    OTA_BASE
    BROWSER_UA

    Functions

    sourceToHelperShape
    defaultPortFile
    readBaseUrlFromPortFile
    mangaPageFromJson
    mangaChapterFromJson
    mangaFromJson
    sourceFromJson
    searchPageFromJson
    mangaDetailsFromJson

    References

    NyoraServer → NyoraServer
    default → Nyora