1.0.1 • Published 3 years ago
@headstrait/math v1.0.1
math
A repository created to demo how to publish packages to npm.
Install
npm install @headstrait/math --save
Example
// Requiring the math package
const math = require("@headstrait/math");
// Storing the result of the add function for params 1 and 4 in a var called addition
const addition = math.add(1, 4);
// logging the result to the console
console.log(addition); // 5