little-math is a lightweight math library for JavaScript and Node.js. It is very lightweight and fully optimized for any application.It is overloaded with multiple handy solutions for mathematical computations.
- Work with every type numeric values.
- Lightweight.
- Easy to use.
- Comes with a large set of built-in functions and constants.
- Runs on any JavaScript engine.
- Open source.
little-math can be used in both node.js and in the browser.
Install little-math using npm:
npm install littlemath
import {
add, sumObj
} from 'littlemath'
// functions and constants
add(2, 3) // 5
sumObj({a:1,b:6}) // 7