HED JavaScript Library
    Preparing search index...

    Function readFile

    • Read a local file.

      Parameters

      • fileName: string

        The file path.

      Returns Promise<string>

      A promise with the file contents.

      If the file read failed or if called in a browser environment.