Skip to main content

clean()

This function is used to clean stuff up, reducing RAM usage, and removing unnecessary database entries.

Parameters

ParameterTypeRequiredDescription
optionsCleanOptionsThe options for the clean.

Returns

  • void

Throws

  • XpFatal - If something goes wrong (somehow).

[JS] Example

const {clean} = require('simply-xp');

clean() // Returns void