1.0.1 • Published 6 years ago
tamtar v1.0.1
This was just a practice module I created. You can run the following commands to add, subtract, multiply, and divide the two numbers you pass.
const tt = require('tamtar');
var mathA = tt.add(10, 5);
console.log(`10 + 5 = ${mathA}`);
var mathB = tt.sub(10, 5);
console.log(`10 - 5 = ${mathB}`);
var mathC = tt.mul(10, 5);
console.log(`10 x 5 = ${mathC}`);
var mathD = tt.div(10, 5);
console.log(`10 / 5 = ${mathD}`);