Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevindmorris/matician

Shorthand for a specialist or expert in mathematics.
https://github.com/kevindmorris/matician

babel javascript jest tsup typescript

Last synced: 26 days ago
JSON representation

Shorthand for a specialist or expert in mathematics.

Awesome Lists containing this project

README

        

**[Matician](https://kevindmorris.github.io/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](https://img.shields.io/npm/v/matician.svg?label=version)](https://www.npmjs.com/package/matician)
[![npm downloads](https://img.shields.io/npm/dm/matician.svg)](https://www.npmjs.com/package/matician)
[![package license](https://img.shields.io/npm/l/matician.svg)](https://www.npmjs.com/package/matician)

πŸ“‹[Docs](https://kevindmorris.github.io/matician/) | πŸ§ͺ[GitHub](https://github.com/kevindmorris/matician) | πŸ“¦[Package](https://www.npmjs.com/package/matician)

# Table of Contents

- [Getting Started](#getting-started)
- [Usage](#usage)
- [Run the Test Suite](#run-the-test-suite)
- [Why Matician?](#why-matician)
- [Contributors](#contributors)
- [Author](#author)

# Getting Started

Use your preferred package manager:

```
npm install matician
yarn add matician
```

# Usage

With CommonJS,

```js
const { add } = require("matician");

const sum = add(1, 2);

console.log(sum);
// => 3
```

With ES modules,

```js
import { add } from "matician";

const sum = add(1, 2);

console.log(sum);
// => 3
```

# Run the Test Suite

```bash
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](https://github.com/kevindmorris/matician/issues) to address bugs or suggest new modules!

# Author

Kevin Morris