mathjo - commit 5675ee6
Added export to mathjo.js - wrote README.md5675ee6c7b02919fd94535538af089b1f5807617LukePJ25<luke.jones.2567@gmail.com>2025-02-02T14:13:02Zdiff --git a/README.md b/README.md
index 5848e09..5e4ce8f 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,2 @@
# MathJo
-Small JavaScript maths library for use in some of my projects
+MathJo is a small JavaScript maths library made from a collection of the functions I wrote for quick-use in some of my projects.
\ No newline at end of file
diff --git a/mathjo.js b/mathjo.js
index 01e4d03..48edc36 100644
--- a/mathjo.js
+++ b/mathjo.js
@@ -1,4 +1,4 @@
-const Maths = {
+const MathJo = {
/**
* Clamps a given value within a specified range.
* @param v The value to clamp.
@@ -89,4 +89,6 @@ const Maths = {
wrapValue: function (v, max) {
return ((v % max) + max) % max;
}
-}
\ No newline at end of file
+};
+
+export default MathJo;
\ No newline at end of file