object.reduce
Advanced tools
+5
-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.", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "homepage": "https://github.com/jonschlinkert/object.reduce", | ||
@@ -21,3 +21,5 @@ "author": { | ||
| }, | ||
| "files": ["index.js"], | ||
| "files": [ | ||
| "index.js" | ||
| ], | ||
| "main": "index.js", | ||
@@ -31,3 +33,3 @@ "engines": { | ||
| "dependencies": { | ||
| "for-own": "^0.1.2" | ||
| "for-own": "^0.1.3" | ||
| }, | ||
@@ -34,0 +36,0 @@ "devDependencies": { |
+33
-14
@@ -7,3 +7,2 @@ # object.reduce [](http://badge.fury.io/js/object.reduce) | ||
| ## Install | ||
| ## Install with [npm](npmjs.org) | ||
@@ -14,3 +13,3 @@ | ||
| ``` | ||
| ### Install with [bower](https://github.com/bower/bower) | ||
| ## Install with [bower](https://github.com/bower/bower) | ||
@@ -21,8 +20,2 @@ ```bash | ||
| ## Run tests | ||
| ```bash | ||
| npm test | ||
| ``` | ||
| ## Usage | ||
@@ -40,3 +33,3 @@ | ||
| ```js | ||
| var reduce = require('reduce-object'); | ||
| var reduce = require('object.reduce'); | ||
| var a = {a: 'foo', b: 'bar', c: 'baz'}; | ||
@@ -52,15 +45,41 @@ | ||
| ## Related projects | ||
| * [object.defaults](https://github.com/jonschlinkert/object.defaults): Like `extend` but only copies missing properties/values to the target… [more](https://github.com/jonschlinkert/object.defaults) | ||
| * [object.filter](https://github.com/jonschlinkert/object.filter): Create a new object filtered to have only properties for… [more](https://github.com/jonschlinkert/object.filter) | ||
| * [object.omit](https://github.com/jonschlinkert/object.omit): Return a copy of an object without the given key,… [more](https://github.com/jonschlinkert/object.omit) | ||
| * [object.pick](https://github.com/jonschlinkert/object.pick): Returns a filtered copy of an object with only the… [more](https://github.com/jonschlinkert/object.pick) | ||
| ## Running tests | ||
| Install dev dependencies: | ||
| ```bash | ||
| npm i -d && npm test | ||
| ``` | ||
| ## Contributing | ||
| Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/object.reduce/issues) | ||
| ## Author | ||
| **Jon Schlinkert** | ||
| + [github/jonschlinkert](https://github.com/jonschlinkert) | ||
| + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
| + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
| ## License | ||
| Copyright (c) 2015 Jon Schlinkert | ||
| Released under the MIT license | ||
| Copyright (c) 2015 Jon Schlinkert | ||
| Released under the MIT license. | ||
| *** | ||
| _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 24, 2015._ | ||
| _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 25, 2015._ | ||
| <!-- reflinks generated by verb-reflinks plugin --> | ||
| [verb]: https://github.com/assemble/verb | ||
| [template]: https://github.com/jonschlinkert/template | ||
| [assemble]: http://assemble.io |
5451
26.27%80
31.15%Updated