@weebforge/math
v1.0.1
Published
Math utilities for ForgeScript — clean, fast, and expressive.
Readme
ForgeMath
A math utility module for ForgeScript, providing expressive and easy-to-use mathematical functions.
Installation
From GitHub (recommended)
npm install github:weebforge/ForgeMathFor dev version
npm install github:weebforge/ForgeMath#devSetup
Here is a small setup with an example code.
// import { ForgeMath } from "@weebforge/math";
const { ForgeMath } = require("@weebforge/math");
const client = new ForgeClient({
extensions: [
new ForgeMath()
]
});
client.commands.addCommand({
name: "factorial",
type: "messageCreate",
code: `5! = $factorial[5]`
});Support
If you need any assistance, don't hesitate to reach out by opening a support form in the official BotForge Discord server! :D
