BetterTools.js Documentation

Setup

First, clone the repository or download the BetterTools folder:

git clone https://github.com/GamerXR-637/BetterTools-js.git

Second, in your main file, require the library:

// To use all functions under a namespace
const BetterTools = require("./path/to/BetterTools");

// Or, to import specific functions
const { sleep, truncate } = require("./path/to/BetterTools");

If you use the first option, call functions like this:

BetterTools.sleep(2);

If you use the second option, you can call them directly:

sleep(2);