mathemagic
v1.0.18
Published
A mathematics and statistics library for Node.js (javascript and typescript)
Downloads
6
Maintainers
Readme
mathemagic is a mathematics and statistics library which comes with a range of built-in functions and constants to help you perform calculations.
Installation and usage
Install
Install mathemagic using npm:
'npm install mathemagic --save'
Use
mathemagic can then be required or imported by using:
const mathemagic = require('mathemagic')
OR
import { mathemagic } from 'mathemagic'
Build
Clone prject from github into a local mathemagic project folder:
git clone https://github.com/matthewpeterbailey/mathemagic.git
Navigate to the your local repository, install project dependencies and build:
cd mathemagic
npm install
npm run build
Test
This project uses the javascript testing framwork jest. To execute the test suite run:
npm install
npm test
Licence
Copyright © 2020 Matthew Bailey