json-fs-query
    Preparing search index...

    Function readText

    • Read one file of the database as text, from wherever readJson would read it (the statement's write set, the read cache, then storage).

      Parameters

      • path: string

        A path inside the database, such as users.json.

      Returns Promise<string>

      When the file can't be read.