kaposkes-math-lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i kaposkes-math-lib

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

5.41 kB

Total Files

12

Last publish

Collaborators

  • guibassa