Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Advanced

Wekend edited this page Sep 11, 2024 · 3 revisions

Using node modules

With Housatic, you're able to install and use node modules with your bots to unlock the full power of the Javascript ecosystem! It's pretty simple to get set up with a node module too, just follow these steps:

  1. Enable advanced mode: Control the bot, configure it, and toggle advanced mode*
  2. Open bot folder in terminal: Use cd to navigate to your bot's folder
  3. Install the node module: Use npm install <package-name> —-no-save to install modules
  4. Access the node module: In your script, use require("<package-name>").

*Be careful using code written by others when in advanced mode. Always be sure you know what the code does before running it!

Clone this wiki locally