# Function writeFileSync (file, text, showLog)

>**writeFileSync**(file, text, showLog)
- Write text to a file synchronously

- See [Functions](../functions.md)

## Parameters

| Parameter |Type |Default |Description |
|  ---- | ---- | ---- | ---- |
**file** | | | |
**text** | | | |
**showLog** | |false | |
