Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apr-reduce

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apr-reduce - npm Package Compare versions

Comparing version 1.0.5 to 3.0.0

dist/apr-reduce.es.js

20

package.json
{
"name": "apr-reduce",
"version": "1.0.5",
"license": "MIT",
"version": "3.0.0",
"description": "Reduces coll into a single value using an async iteratee to return each successive step.",

@@ -25,10 +26,21 @@ "keywords": [

"bugs": "https://github.com/ramitos/apr/issues",
"license": "MIT",
"author": "Sérgio Ramos <mail@sergioramos.me> (http://sergioramos.me)",
"main": "src/index.js",
"repository": "ramitos/apr",
"main": "dist/apr-apply.umd.js",
"jsnext:main": "dist/apr-apply.es.js",
"module": "dist/apr-apply.es.js",
"entry": "index.js",
"files": [
"dist"
],
"scripts": {
"prepublish": "NODE_ENV=production bup"
},
"dependencies": {
"apr-engine-each": "^1.0.3",
"apr-engine-each": "^3.0.0",
"lodash.defaults": "^4.2.0"
},
"devDependencies": {
"bup": "^4.1.3"
}
}

25

readme.md

@@ -5,14 +5,20 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->

<a id="reduce"></a>
Reduces `coll` into a single value using an async `iteratee` to return each successive step.
<a id="reduce"></a> Reduces `coll` into a single value using an async `iteratee`
to return each successive step.
[![](https://img.shields.io/npm/v/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce) [![](https://img.shields.io/npm/l/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce)
[![](https://img.shields.io/npm/v/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce)
[![](https://img.shields.io/npm/l/apr-reduce.svg?style=flat-square)](https://www.npmjs.com/package/apr-reduce)
**Parameters**
- `input` **([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) \| [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | Iterable)**
- `fn`
- `sum`
- `opts`
- `iteratee` **[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)**
* `input`
**([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
\|
[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)
| Iterable)**
* `fn`
* `sum`
* `opts`
* `iteratee`
**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)**

@@ -29,2 +35,3 @@ **Examples**

Returns **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)**
Returns
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)**
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc