• Write data to a file with locks and logs.

    Several backups and helper files used for logging are created, should be used in pair with read.

    Parameters

    • fname: string

      the name of the file

    • data: string | Buffer

      the data to write to the file

    Returns Promise<void>

Generated using TypeDoc