1.0.6 • Published 2 years ago
cumsum v1.0.6
this is package for finding cumulative sum of an array. Just call cumSum() and pass your array to it example code
const cs = require('cumsum');
const arr = 1,2,3
console.log(cs.cumSum(arr));
this is package for finding cumulative sum of an array. Just call cumSum() and pass your array to it example code
const cs = require('cumsum');
const arr = 1,2,3
console.log(cs.cumSum(arr));