# Function writeFile (file, text)

>**writeFile**(file, text)
- Write text to a file
- **Return {Promise<any>}** - @returns {Promise<any>}
- See [Functions](../functions.md)

## Parameters

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