2.0.0 • Published 1 year ago
ch-calculator-example v2.0.0
This repository is intended to show the process to publish a package in npm.
Installation: npm install ch-calculator-example
.
Usage:
import { add, subtract, multiply, divide } from 'ch-calculator-example';
// Add a + b
const result = add(a, b);
// Subtract b - a
const result = subtract(a, b);
// Multiply a * b
const result = multiply(a, b);
// Divide b / a
const result = divide(a, b);