You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.
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:
Enable advanced mode: Control the bot, configure it, and toggle advanced mode*
Open bot folder in terminal: Use cd to navigate to your bot's folder
Install the node module: Use npm install <package-name> —-no-save to install modules
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!