matician
v0.7.0
Published
A modern JavaScript utility library for arithmetic, mathematics, proability, statistics, and more.
Downloads
29
Maintainers
Readme
Matician: (/məˈtiSH(ə)n/) Shorthand for a specialist or expert in mathematics.
Table of Contents
Getting Started
Use your preferred package manager:
npm install matician
yarn add matician
Usage
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
Run the Test Suite
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
Why Matician?
Matician takes the hassle out of writing custom JavaScript functions for mathematical, statistical, and probabilistic methods.
Contributors
Open an issue to address bugs or suggest new modules!
Author
Kevin Morris