@newspapper/core
    Preparing search index...

    Function saveArticle

    • Save an article to the library. Idempotent on (source_id, guid) — and on guid alone for source-less articles, where the UNIQUE constraint cannot apply because SQLite treats NULLs as distinct. Saving again returns the existing row unchanged, note included.

      Parameters

      Returns Article