1.0.3 • Published 1 year ago

kaposkes-math-lib v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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);
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago