function writeSync
Usage
import { writeSync } from "node:fs";
Synchronously writes string to the file referenced by the supplied file descriptor, returning the number of bytes written.
import { writeSync } from "node:fs";
Synchronously writes string to the file referenced by the supplied file descriptor, returning the number of bytes written.