# install the package
npm install split-add
// import the package
import { splitAdd, splitMultiply } from "split-add";
// call the function
number = 1234
const resultAdd = splitAdd(number);
const resultMultiply = splitMultiply(number)
console.log(resultAdd); // 10
console.log(resultAdd); // 24
10;
24;