Matician: (/məˈtiSH(ə)n/) Shorthand for a specialist or expert in mathematics.
A modern JavaScript utility library for arithmetic, mathematics, proability, statistics, and more.
Use your preferred package manager:
npm install matician
yarn add matician
With CommonJS,
const { add } = require("matician");
const sum = add(1, 2);
console.log(sum);
// => 3
With ES modules,
import { add } from "matician";
const sum = add(1, 2);
console.log(sum);
// => 3
git clone https://github.com/kevindmorris/matician.git
npm install
npm test # Run the entire test suite
npm test -- add.test.ts # Run an individual test suite
Matician takes the hassle out of writing custom JavaScript functions for mathematical, statistical, and probabilistic methods.
Open an issue to address bugs or suggest new modules!
Kevin Morris