https://github.com/codingtuto/nodepack
Un package npm de test pour faire des calculs
https://github.com/codingtuto/nodepack
nodejs npm package test
Last synced: 9 months ago
JSON representation
Un package npm de test pour faire des calculs
- Host: GitHub
- URL: https://github.com/codingtuto/nodepack
- Owner: codingtuto
- License: apache-2.0
- Created: 2023-08-30T14:05:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T14:07:24.000Z (over 2 years ago)
- Last Synced: 2025-01-23T16:51:26.583Z (11 months ago)
- Topics: nodejs, npm, package, test
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/codingmath
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodingMath
Un package Node.js simple pour effectuer des opérations mathématiques de base et avancées.
## Installation
```
npm install codingmath
```
## Utilisation
```
const math = require('codingmath');
const somme = math.additionner(5, 3);
console.log(somme); // Résultat : 8
const difference = math.soustraire(10, 4);
console.log(difference); // Résultat : 6
const produit = math.multiplier(3, 7);
console.log(produit); // Résultat : 21
const quotient = math.diviser(15, 3);
console.log(quotient); // Résultat : 5
const resultat = math.puissance(2, 3);
console.log(resultat); // Résultat : 8
```