# @honux/mathf

> JavaScript library that provides constants and static methods for common mathematical functions

Latest version **0.1.2** (published 2020-12-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @honux/mathf
pnpm add @honux/mathf
yarn add @honux/mathf
bun add @honux/mathf
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2020-12-25 |
| First published | 2020-12-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Hoyoung Jung |
| Maintainers | honux |
| Keywords | math, mathf, isOdd, isEven |

## Links

- npm: https://www.npmjs.com/package/@honux/mathf
- Repository: https://github.com/honux77/mathf
- Homepage: https://github.com/honux77/mathf#readme
- Issues: https://github.com/honux77/mathf/issues
- npm.io page: https://npm.io/package/@honux/mathf

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

- 0.1.2 (latest) — 2020-12-25
- 0.1.1 — 2020-12-25
- 0.1.0 — 2020-12-25

## README

# MathF.js

MathF is a JavaScript library that provides constants and static methods for common mathematical functions.

## Install

```
npm install @honux/mathf
```
## Quick Start

```javascript
const { Mathf } = require('@honux/mathf');
console.log(Mathf.PI);
console.log(Mathf.isEven(2));
console.log(Mathf.isOdd(2));
```

## Methods

- IsOdd(num) : return true if num is a odd number
- IsEven(num) : return true if num is a even number

## Value

- PI : Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
- E : Represents the natural logarithmic base, specified by the constant, e.
- Tau : 2 * PI


## Reference

- This project is inspired by [MathF class of .NET](https://docs.microsoft.com/en-us/dotnet/api/system.mathf?view=net-5.0).

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