# bettermath.js

> A NPM Module that makes using math easier in JavaScript.

Latest version **2.0.10** (published 2021-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install bettermath.js
pnpm add bettermath.js
yarn add bettermath.js
bun add bettermath.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.10 |
| Published | 2021-02-16 |
| First published | 2019-12-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mahmoud |
| Maintainers | rustdev |
| Keywords | npm, module, math |

## Links

- npm: https://www.npmjs.com/package/bettermath.js
- npm.io page: https://npm.io/package/bettermath.js

## Dependencies (1)

- [util](https://npm.io/package/util.md) ^0.12.3

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 2.0.10 (latest) — 2021-02-16
- 2.0.9 — 2019-12-25
- 2.0.8 — 2019-12-25
- 2.0.7 — 2019-12-25
- 2.0.7-rc — 2019-12-25
- 2.0.6-rc — 2019-12-25
- 2.0.5 — 2019-12-25
- 2.0.4 — 2019-12-25
- 2.0.3 — 2019-12-25
- 2.0.1 — 2019-12-25
- 2.0.0 — 2019-12-25
- 1.1.7-0 — 2019-12-25
- 1.1.6-rc — 2019-12-25
- 1.1.5-rc — 2019-12-25
- 1.1.4-rc — 2019-12-25
- … 8 more at https://npm.io/package/bettermath.js/versions

## README

# bettermath.js

bettermath.js is a Node.js module that is used to make math in Node.js so much easier.
Also includes miscellaneous commands for fun and utility!

## Installation

DISCLAIMER: You must have [npm](https://npmjs.com/) and [Node.js](https://nodejs.org/) to install this module.

```bash
npm i bettermath.js
```

## Usage

```Node.js
const bmath = require('bettermath.js')
bmath.removeSpaces("Hello there!") // Returns "Hellothere!"
bmath.add(1, 1) // Returns 2
bmath.subtract(1, 1) // Returns 0
bmath.multiply(2, 4) // Returns 8

// DISCLAIMER: Other commands are being worked on.
```

## Bug Reports
You may report bugs using [this forum](https://forms.gle/2rk1bDzu9ZU2341L7).

## Versions

Stable: [2.0.9](https://www.npmjs.com/package/bettermath.js/v/2.0.9)

Latest: [2.0.9](https://www.npmjs.com/package/bettermath.js/v/2.1.0)

## Made by,
Mahmoud Walid

## License
[ISC](https://choosealicense.com/licenses/isc/)

---
_Source: https://npm.io/package/bettermath.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
