writeFileSync
writeFileSync(path, data): void
Synchronously writes the contents of data to the file at path.
Parameters
| Parameter | Type |
|---|---|
path | PathLike |
data | string | BufferSource |
Returns
void
writeFileSync(path, data): void
Synchronously writes the contents of data to the file at path.
| Parameter | Type |
|---|---|
path | PathLike |
data | string | BufferSource |
void