kaposkes-math-lib
v1.0.3
Published
As the javascript universe grows more and more, you can't be wasting your time writing stupid math operation logic. Besides, your `node-modules` folder isn't quite as massive as it could be. Enters `kaposkes-math-lib`, the solution to all your problems.
Downloads
1
Readme
Kaposke's math lib
As the javascript universe grows more and more, you can't be wasting your time writing
stupid math operation logic. Besides, your node-modules
folder isn't quite as massive
as it could be. Enters kaposkes-math-lib
, the solution to all your problems.
Showcase
Without kaposkes-math-lib
:
// Hard to understand, bloated with symbols. What am I, a mathematician?
const bestNumber = (28 + 8) * 2 + 1;
With kaposkes-math-lib
:
import { add, mul } from 'kaposkes-math-lib'
// Clear, concise, no weird symbols. Trully functional
const bestNumber = add(mul(add(28, 8), 2), 1);
Installation
npm install kaposkes-math-lib
Usage
import { add, mul } from 'kaposkes-math-lib'
const bestNumber = add(mul(add(28, 8), 2), 1);