# component-reduce

> Array reduce component

Latest version **1.0.0** (published 2013-10-18) · 0 weekly downloads

## Install

```sh
npm install component-reduce
pnpm add component-reduce
yarn add component-reduce
bun add component-reduce
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-10-18 |
| First published | 2013-10-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | gjohnson |

## Links

- npm: https://www.npmjs.com/package/component-reduce
- npm.io page: https://npm.io/package/component-reduce

## Recent versions

- 1.0.0 (latest) — 2013-10-18

## README

# reduce

  array reduce

## Installation

```sh
  $ component install redventures/reduce
```

## API

```js
var reduce = require('reduce');

var numbers = [0, 1, 2, 3, 4, 5];

var result = reduce(numbers, function(prev, curr){
  return prev + curr;
});
```
   
## License

Copyright 2012 Red Ventures

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

---
_Source: https://npm.io/package/component-reduce · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
