UNPKG

@nathanfaucett/array-reduce

Version:

applies a function against an accumulator and each value of the array (from left-to-right) to reduce it to a single value.

35 lines (34 loc) 968 B
{ "name": "@nathanfaucett/array-reduce", "version": "0.0.1", "description": "applies a function against an accumulator and each value of the array (from left-to-right) to reduce it to a single value.", "repository": { "type": "git", "url": "https://github.com/nathanfaucett/array-reduce.git" }, "main": "src/index.js", "scripts": { "test": "npm run test-node", "test-node": "node ./test | ./node_modules/.bin/tap-spec", "test-node-raw": "node ./test", "test-browser-local": "zuul --local 9999 --ui tape -- ./test" }, "keywords": [ "array-reduce", "array-reduce.js" ], "author": "Nathan Faucett", "license": "MIT", "readmeFilename": "README.md", "devDependencies": { "grunt": "^1.0.1", "grunt-contrib-jshint": "^1.0.0", "grunt-jsbeautifier": "^0.2.13", "tap-spec": "^4.0.0", "tape": "^4.0.0", "zuul": "^3.0.0" }, "dependencies": { "@nathanfaucett/is_undefined": "^0.0.1" } }