matician
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Matician: (/məˈtiSH(ə)n/) Shorthand for a specialist or expert in mathematics.

A modern JavaScript utility library for arithmetic, mathematics, proability, statistics, and more.

npm version npm downloads package license

📋Docs | 🧪GitHub | 📦Package

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

Package Sidebar

Install

npm i matician

Weekly Downloads

19

Version

0.6.0

License

MIT

Unpacked Size

95.3 kB

Total Files

10

Last publish

Collaborators

  • kevindmorris