cumsum
v1.0.6
Published
this is package for finding cumulative sum of an array. Just call cumSum() and pass your array to it example code
Readme
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));
