@ckirg/corelib - v0.4.1
    Preparing search index...

    Function readTextFileSync

    • Reads a text file synchronously in a runtime-agnostic way.

      Parameters

      • file: string

        The path to the file.

      Returns string

      The contents of the file as a string.