# node-math.js

> A simple math library for NodeJS and JavaScript.

Latest version **1.0.6** (published 2018-09-22) · Apache License 2.0 license · 0 weekly downloads

## Install

```sh
npm install node-math.js
pnpm add node-math.js
yarn add node-math.js
bun add node-math.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 | 1.0.6 |
| Published | 2018-09-22 |
| First published | 2018-09-17 |
| Weekly downloads | 0 |
| License | Apache License 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bhavya Dang |
| Maintainers | bhavyadang.codes() |
| Keywords | math, javascript, nodejs, mathematics, functions, numeric, algebra, number |

## Links

- npm: https://www.npmjs.com/package/node-math.js
- Repository: https://github.com/Sythe2954/node-math.js
- Homepage: https://github.com/Sythe2954/node-math.js#readme
- Issues: https://github.com/Sythe2954/node-math.js/issues
- npm.io page: https://npm.io/package/node-math.js

## Dependencies (2)

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

## 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

- 1.0.6 (latest) — 2018-09-22
- 1.0.5 — 2018-09-19
- 1.0.3 — 2018-09-18
- 1.0.2 — 2018-09-17
- 1.0.1 — 2018-09-17
- 1.0.0 — 2018-09-17

## README

## node-math.js

<div align="center">
  <br />
  <p>
    <a href="https://www.npmjs.com/package/node-math.js"><img src="https://img.shields.io/npm/v/node-math.js.svg?maxAge=3600" alt="NPM version" /></a>
    <a href="https://www.npmjs.com/package/node-math.js"><img src="https://img.shields.io/npm/dt/node-math.js.svg?maxAge=3600" alt="NPM downloads" /></a>
    <a href="https://www.npmjs.com/package/node-math.js"><img src="https://img.shields.io/travis/Sythe2954/node-math.js.svg" alt="Build Status" /></a>
  </p>
  <p>
    <a href="https://nodei.co/npm/node-math.js/"><img src="https://nodei.co/npm/node-math.js.png?downloads=true&stars=true" alt="npm installnfo" /></a>
  </p>
  
 A simple math library for NodeJS and JavaScript.
  
</div>



## Installation

```bash
$ npm install node-math.js
```

## Dependencies

```bash
$ npm install
```

## Examples

```js
// Require
const math = require("node-math.js");

// functions
math.circleArea(4);
// Answer: 50.2857143
math.recArea(4, 2) // 4 is length and 2 is breadth.
// Answer: 8

// METHODS
math.circleArea(radius);
math.circlePer(radius);
math.recArea(length, breadth);
math.recPer(length, breadth);
math.ceil(number);
math.sqPer(side);
math.sqArea(side);
math.eval(string);
math.add(a, b);
math.sub(a, b);
math.prod(a, b);
math.div(a, b);
math.floor(number);
math.random();
math.round(n);
```

## License

&copy; Bhavya Dang, 2018<br>
Released under the Apache License 2.0.

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