math-chaning-js

Proyecto de matematicas sencillo para aprender NodeJS y subirlo a NPM

Usage no npm install needed!

<script type="module">
  import mathChaningJs from 'https://cdn.skypack.dev/math-chaning-js';
</script>

README

Operaciones matemáticas

Modulo para realizar operaciones matematicas simples

Instalación

Seguir estas instrucciones

npm install math-chaning-js

Uso

Seguir estas instrucciones

// Importar el módulo
const m = require('.');

// Suma
console.log(m.suma(1, 2)); => 3

// Resta
console.log(m.resta(14, 7)); => 7

// División
console.log(m.division(4, 2)); => 2

// Multiplicación
console.log(m.multiplicacion(2, 4)); => 8