{
  "_id": "object.reduce",
  "maintainers": [
    {
      "name": "jonschlinkert",
      "email": "github@sellside.com"
    },
    {
      "name": "phated",
      "email": "blaine.bublitz@gmail.com"
    }
  ],
  "keywords": [
    "object",
    "reduce"
  ],
  "dist-tags": {
    "latest": "1.0.1"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "11-506ea4c6c6bff10370e63392e287df4e",
  "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
  "readme": "# object.reduce [![NPM version](https://img.shields.io/npm/v/object.reduce.svg?style=flat)](https://www.npmjs.com/package/object.reduce) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.reduce.svg?style=flat)](https://npmjs.org/package/object.reduce) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.reduce.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.reduce)\n\n> Reduces an object to a value that is the accumulated result of running each property in the object through a callback.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object.reduce\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add object.reduce\n```\n\nInstall with [bower](https://bower.io/)\n\n```sh\n$ bower install object.reduce --save\n```\n\n## Usage\n\nthe initial value (or value from the previous callback call), the `value` of the current property, the `key` of the current property, and the `object` over which the function is iterating. Node.js/JavaScript utility.)_\n\n**Params**\n\n* `object` **{Object}**: The object to iterate over (the iteratee)\n* `fn` **{Function}**: The function invoked per iteration.\n* `init` **{Object}**: The initial value to use for the accumulator.\n* `thisArg` **{Object}**: (optional) Object to use as the invocation context for the iterator (expose as `this` inside the iterator)\n\nExecutes the given callback `fn` once for each own enumerable property in the object. The callback receives the following arguments:\n\n* `acc`: the initial value (or value from the previous callback call),\n* `value`: the of the current property,\n* `key`: the of the current property, and\n* the original `object` over which the function is iterating.\n\n**Example**\n\n```js\nvar reduce = require('object.reduce');\nvar a = {a: 'foo', b: 'bar', c: 'baz'};\n\nreduce(a, function(acc, value, key, obj) {\n  acc[key] = value.toUpperCase();\n  return acc;\n}, {});\n\n//=> {a: 'FOO', b: 'BAR', c: 'BAZ'};\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 17, 2017._",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jonschlinkert/object.reduce.git"
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/object.reduce/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.3": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu",
      "version": "0.1.3",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "licenses": [
        {
          "type": "MIT",
          "url": "https://github.com/jonschlinkert/object.reduce/blob/master/LICENSE-MIT"
        }
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha -R spec"
      },
      "dependencies": {
        "for-own": "^0.1.2"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^4.0.4",
        "verb": ">= 0.2.6"
      },
      "keywords": [
        "accumulate",
        "accumulator",
        "callback",
        "cb",
        "find",
        "for-in",
        "for-own",
        "has",
        "has-own",
        "hasOwn",
        "index",
        "iterate",
        "iterator",
        "javascript",
        "js",
        "key",
        "keys",
        "loop",
        "node.js",
        "object",
        "own",
        "prop",
        "properties",
        "property",
        "reduce",
        "util",
        "utilities",
        "utility",
        "utils",
        "value"
      ],
      "_id": "object.reduce@0.1.3",
      "_shasum": "996b5d9fd3ee07e9313774ae2feebbf8095f7273",
      "_from": ".",
      "_npmVersion": "1.4.9",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "996b5d9fd3ee07e9313774ae2feebbf8095f7273",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-0.1.3.tgz",
        "integrity": "sha512-fFRYcD5i7cewXNfjM8V/gnWdIISPAF2Fl7Z5j9t/C3wqOKE4vOw4TsDpMCCX/MZddTiIMaZ4U3GBYfXhvGWH7g==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBlridbOB7DrkzrHzxvVZUw1oZW/bgyGNrnEXtK+QWOEAiAzsijr5GpypjPR9Sy+u1sCDCmbuSbJCgJH1W8sb4jN6g=="
          }
        ]
      }
    },
    "0.1.4": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "0.1.4",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/object.reduce/blob/master/LICENSE"
      },
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "for-own": "^0.1.2"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^5.2.0"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "gitHead": "9cc3e4e08b599d8733587af1b777c4b898282980",
      "_id": "object.reduce@0.1.4",
      "_shasum": "be9b02ce9a4300434492695e4c401f7e4c2cd0d8",
      "_from": ".",
      "_npmVersion": "2.7.1",
      "_nodeVersion": "1.6.2",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "be9b02ce9a4300434492695e4c401f7e4c2cd0d8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-0.1.4.tgz",
        "integrity": "sha512-861yTZx1dK2qMQB672L4sss1HWMlKSYCaSFSVzFKHv3Mp9GkC6z/r6Te8GODwLFteO64uYgEAnw8AJ5xTc2wmQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDR/hOgvipIIOqxhtpoK3kzzrWwyNhV0x7Dsva6W+HZ8AIhAK08Zzg9+ZaxED6l3jB4LHnQLKuDONtKd2K8u7CQed7Z"
          }
        ]
      }
    },
    "0.1.5": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "0.1.5",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/object.reduce/blob/master/LICENSE"
      },
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "for-own": "^0.1.2"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^5.2.0"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "gitHead": "6fd61fd128b1da04ccc6687f8df241cc1d7be4ce",
      "_id": "object.reduce@0.1.5",
      "_shasum": "58f06842fe60112737e736ba6e9c3783b224c1f2",
      "_from": ".",
      "_npmVersion": "2.7.1",
      "_nodeVersion": "1.6.2",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "58f06842fe60112737e736ba6e9c3783b224c1f2",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-0.1.5.tgz",
        "integrity": "sha512-giTrxomUjTKWST9XM/UDRSvDtD+Caccbg2ZaiaKCo0oNd9m1DWghp2ik5whm5YxNZPPdL02BqJkKCcol+0ufkQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDLyjmW73i1lm62k46Zs8n8BEXg5wpPu9Wkah4NITidGQIhAIEFWMBjER6lzwCCzLDI+bnnT+mYyU+eNHHOwnwlAs8x"
          }
        ]
      }
    },
    "0.1.6": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "0.1.6",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/object.reduce/blob/master/LICENSE"
      },
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "for-own": "^0.1.2"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^5.2.0"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "gitHead": "207c46bdcda593d3b6e46af523eba6f04556861a",
      "_id": "object.reduce@0.1.6",
      "_shasum": "59e91e92b9ea179c1b3b8f6dd12d2e07832c6c01",
      "_from": ".",
      "_npmVersion": "2.7.1",
      "_nodeVersion": "1.6.2",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "59e91e92b9ea179c1b3b8f6dd12d2e07832c6c01",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-0.1.6.tgz",
        "integrity": "sha512-zKUeTtBcdrNTA4BNv5rvvBiHRYfm/A34gS2TANbNAa+ZAeoDeE+k1ncyT6BSQAJxneZ8T8yhS60jADX/7HKTtA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIGnDmulNXniAMu3+cVW0ZKXbW7O3OXAA5JKTEe4moaVdAiEApLJlPMiAo6RonhN886oL+EtPXVYlljyhYx9L8wRSlCQ="
          }
        ]
      }
    },
    "0.1.7": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "0.1.7",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/object.reduce/blob/master/LICENSE"
      },
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {
        "for-own": "^0.1.3"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^5.2.0"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "gitHead": "55b4072cacd7e91231f52678b6c394153d90dea9",
      "_id": "object.reduce@0.1.7",
      "_shasum": "d180e84f72d218348af45352b55165246b95046d",
      "_from": ".",
      "_npmVersion": "2.7.4",
      "_nodeVersion": "0.12.2",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "d180e84f72d218348af45352b55165246b95046d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-0.1.7.tgz",
        "integrity": "sha512-5PMRmWAfIbCJavx9xETLSjr0IvHHDOjhW9jnHkOmnTC0Q4d9tWM5GjBAPS+J4yLk2Q+ql/XJBBbBOp2xTzDhDg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIAjAeMRgCXlgNapuIhp+iD2wZ73jbSIQK6EZIIwtIXjlAiBar/xgTEw/qJqITp/9gZNZkRXs5ugX/tI8bG+ahTnYUQ=="
          }
        ]
      }
    },
    "1.0.0": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "1.0.0",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": "MIT",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "dependencies": {
        "for-own": "^1.0.0",
        "make-iterator": "^1.0.0"
      },
      "devDependencies": {
        "gulp-format-md": "^0.1.11"
      },
      "verb": {
        "toc": false,
        "layout": "default",
        "tasks": [
          "readme"
        ],
        "plugins": [
          "gulp-format-md"
        ],
        "lint": {
          "reflinks": true
        }
      },
      "gitHead": "efdafa26bb16a0d87de59e030a50dac0aca52fdf",
      "_id": "object.reduce@1.0.0",
      "_shasum": "7f788dc47f61c0740271544711e050f9c92a7717",
      "_from": ".",
      "_npmVersion": "4.1.2",
      "_nodeVersion": "7.6.0",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        },
        {
          "name": "phated",
          "email": "blaine.bublitz@gmail.com"
        }
      ],
      "dist": {
        "shasum": "7f788dc47f61c0740271544711e050f9c92a7717",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-1.0.0.tgz",
        "integrity": "sha512-Xf1lxCRhKsMhfSYCMDXqGSgtKeEgminPhRO6YQRtp6xjghRnPvP997Dh78MNSIXtoM/ZGDmqKpXP8vD9oS2LUg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDAiHUYHzsRc04+acNbtSYAGkMzE+udTLL8yIJmd0kc0gIgIYCNKALKdEdU0BM58OFwsORzbDNiDtNZwH9/QlZG6q4="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-12-west.internal.npmjs.com",
        "tmp": "tmp/object.reduce-1.0.0.tgz_1488484610976_0.31945345434360206"
      }
    },
    "1.0.1": {
      "name": "object.reduce",
      "description": "Reduces an object to a value that is the accumulated result of running each property in the object through a callback.",
      "version": "1.0.1",
      "homepage": "https://github.com/jonschlinkert/object.reduce",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jonschlinkert/object.reduce.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/object.reduce/issues"
      },
      "license": "MIT",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "keywords": [
        "object",
        "reduce"
      ],
      "dependencies": {
        "for-own": "^1.0.0",
        "make-iterator": "^1.0.0"
      },
      "devDependencies": {
        "gulp-format-md": "^0.1.11",
        "mocha": "^3.2.0"
      },
      "verb": {
        "toc": false,
        "layout": "default",
        "tasks": [
          "readme"
        ],
        "plugins": [
          "gulp-format-md"
        ],
        "lint": {
          "reflinks": true
        }
      },
      "gitHead": "46f15d587816e56957c5b569af8b7a9656b569e9",
      "_id": "object.reduce@1.0.1",
      "_shasum": "6fe348f2ac7fa0f95ca621226599096825bb03ad",
      "_from": ".",
      "_npmVersion": "4.2.0",
      "_nodeVersion": "7.7.3",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        },
        {
          "name": "phated",
          "email": "blaine.bublitz@gmail.com"
        }
      ],
      "dist": {
        "shasum": "6fe348f2ac7fa0f95ca621226599096825bb03ad",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/object.reduce/-/object.reduce-1.0.1.tgz",
        "integrity": "sha512-naLhxxpUESbNkRqc35oQ2scZSJueHGQNUfMW/0U37IgN6tE2dgDWg3whf+NEliy3F/QysrO48XKUz/nGPe+AQw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDjsmLVwwDTgagQteHShK3Ufi9IvGnfxmwA22O5gBaJEQIhAMckfRBZa6SSsEev04cE68YVk0GGv0OtZ8uAZq8rK+mx"
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-12-west.internal.npmjs.com",
        "tmp": "tmp/object.reduce-1.0.1.tgz_1492414773542_0.22691922867670655"
      }
    }
  },
  "name": "object.reduce",
  "time": {
    "modified": "2026-05-20T15:56:31.129Z",
    "created": "2014-10-07T19:17:47.598Z",
    "0.1.3": "2014-10-07T19:17:47.598Z",
    "0.1.4": "2015-03-24T06:19:16.558Z",
    "0.1.5": "2015-03-24T06:28:29.915Z",
    "0.1.6": "2015-03-24T06:30:07.138Z",
    "0.1.7": "2015-04-25T08:26:45.975Z",
    "1.0.0": "2017-03-02T19:56:52.958Z",
    "1.0.1": "2017-04-17T07:39:35.609Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/object.reduce"
}