# easy-maths-js

> Utilisation ```js

Latest version **1.0.3** (published 2021-06-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install easy-maths-js
pnpm add easy-maths-js
yarn add easy-maths-js
bun add easy-maths-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.3 |
| Published | 2021-06-05 |
| First published | 2021-05-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | liamgen |
| Maintainers | liamgen |
| Keywords | maths |

## Links

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

## Dependencies (1)

- [api-fjsp](https://npm.io/package/api-fjsp.md) ^1.0.1

## 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.3 (latest) — 2021-06-05
- 1.0.2 — 2021-06-05
- 1.0.1 — 2021-06-05
- 1.0.0 — 2021-05-29

## README

# easy-maths-js

## Les maths deviennent simple en JavaScript !

Utilisation
```js

const maths = require('easy-maths')
const calculator = new maths.Calculator() // Création d'un objet qui est égal a 0 au début
console.log(calculator.getValue()) // Retourne la valeur du calculator (0)
calculator.setValue(2)
console.log(calculator.getValue()) // Retourne la valeur du calculator (2)
calculator.multiply(2) // Multiplie la valeur du calculator (2) par 2 = 4
console.log(calculator.getValue()) // Retourne la valeur du calculator (4)

// Partie maths (partie indisponible)
console.log(maths.add(1, 1)) // Retourne 1 + 1 dans la console (1)
console.log(maths.sub(1, 1)) // Retourne 1 - 1 dans la console (0)
console.log(maths.multiply(2, 2)) // Retourne 2 x 2 dans la console (4)
console.log(maths.divide(2, 2)) // Retourne 2 / 2 dans la console (Q = 1, R = 0)

// Maths approfondis
const A = 10
const B = 20
console.log(maths.approfondis.hypoténuse(A, B)) // Retourne l'hypoténuse du triangle ABC (C = 22.360679774997898)

console.log(maths.approfondis.auCarré(10)) // Retourne 10² (10 au carré) (10² = 100)
```

*Produit pouvant contenir des publicités*

liamgen - 2021

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