sb-calculadora
v1.0.1
Published
app de calculadora para testear subida a npmjs
Downloads
3
Readme
sb-calculadora!
Esta app está hecha para usar las 4 operaciones básicas aritméticas.
cómo usar?
StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!
npm i sb-calculadora
luego lo puedes usar en tu proyecto así:
import { suma, resta, mult, div } from 'sb-calculadora';
// ejemplo de 2 variables
let a = 5, b = 3;
console.log(suma(a, b));
console.log(resta(a, b));
console.log(mult(a, b));
console.log(div(a, b));