pubmed-client (Node.js)
    Preparing search index...

    Interface SpellCheckResult

    Spelling suggestion result from the ESpell API

    interface SpellCheckResult {
        correctedQuery: string;
        database: string;
        hasCorrections: boolean;
        query: string;
        replacements: string[];
    }
    Index

    Properties

    correctedQuery: string

    The full corrected/suggested query as a plain string

    database: string

    The database that was queried

    hasCorrections: boolean

    Whether any spelling corrections were made

    query: string

    The original query string as submitted

    replacements: string[]

    The corrected terms (only the replaced parts)