clean()
This function is used to clean stuff up, reducing RAM usage, and removing unnecessary database entries.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
options | CleanOptions | ❌ | The options for the clean. |
Returns
void
Throws
XpFatal
- If something goes wrong (somehow).
[JS] Example
const {clean} = require('simply-xp');
clean() // Returns void