Skip to content
On this page

clean()

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

Parameter Type Required Description
options CleanOptions ❌ The options for the clean.
  • void
  • XpFatal - If something goes wrong (somehow).
const {clean} = require('simply-xp');
clean() // Returns void