Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cust_math

kky-ykk0ISC0.2.0

custome package for mathematical operations

math, calculator, add, subtract, multiply, math-functions, utility, math-utils, simple-math

readme

cust-math

A tiny utility for basic math operations: add, subtract, and multiply.


Installation

npm install cust-math

Usage example

const custMath = require('cust-math');

console.log(custMath.add(2, 3));        // 5
console.log(custMath.subtract(5, 2));   // 3
console.log(custMath.multiply(4, 2));   // 8

Folder structure

cust-math/
├── index.js
├── package.json
└── README.md