1.0.0 • Published 8 years ago

accumulateArray v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

accumulateArray

A simple function to accumulate arrays of numbers

Getting started

Node.js

$ npm install --save accumulateArray
var ac = require('accumulateArray');
ac.accumulateArray([1,2,3,4]); // "[1,3,6,10]"

Browser

Download the production version or the development version.

In your web page:

<script src="dist/accumulateArray.min.js"></script>
<script>
  accumulate(); // "awesome"
</script>

License

MIT © Bill Poulson

1.0.0

8 years ago