@a2937/custom-calc

A custom node module that supports the math functions of addition, substraction, division, multiplication, square root, and history up to ten executions.

Usage no npm install needed!

<script type="module">
  import a2937CustomCalc from 'https://cdn.skypack.dev/@a2937/custom-calc';
</script>

README

Node custom calculator

A small library that supports basic math operations such as addition, subtraction, multiplication, division, square rooting, and history.

Installation

npm install @a2937/custom-calc

Usage

var calc = require('@a2937/custom-calc');

var product = calc.Multiply(15,4);

Output should be 60

Tests

npm test