Function appendFileSync

  • Append a string to a file. Creates the file and dirpath if they do not exist.

    Parameters

    • filepath: string

      The path of the file.

    • string: string

      The string data to append.

    • Optional options: {
          eol: "prepend" | "append";
      }

      Options for including a linebreak (EOL) to the string.

      • eol: "prepend" | "append"

    Returns void

Generated using TypeDoc