Stone.js API
    Preparing search index...

    Reads configuration from a local JSON or YAML file.

    The format is inferred from the extension (.yml/.yaml -> YAML, else JSON) unless given. A missing file throws, unless optional is set (then it yields {}).

    Implements

    Index
    name: string = 'file'

    A human-readable name (e.g. env, file, ssm).

    • Returns Promise<Record<string, unknown>>