{ "_id": "for-own", "_rev": "13-e43e2f6789be9b914bb22a1aec700b3d", "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "dist-tags": { "latest": "1.0.0" }, "versions": { "0.1.0": { "name": "for-own", "description": "Iterate over the own enumerable properties of an objecte, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`.", "version": "0.1.0", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE-MIT" } ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec" }, "dependencies": { "for-in": "^0.1.1" }, "devDependencies": { "mocha": "*", "should": "^4.0.4", "verb": ">= 0.2.6" }, "keywords": [ "find", "for-in", "for-own", "has", "has-own", "hasOwn", "javascript", "js", "key", "keys", "loop", "node.js", "object", "own", "properties", "property", "util", "utilities", "utility", "utils", "value" ], "_id": "for-own@0.1.0", "_shasum": "a65efb92e7ad1d6e43b6148a5eb478f6c300eb46", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "a65efb92e7ad1d6e43b6148a5eb478f6c300eb46", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.0.tgz" }, "directories": {} }, "0.1.1": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`.", "version": "0.1.1", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE-MIT" } ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec" }, "dependencies": { "for-in": "^0.1.1" }, "devDependencies": { "mocha": "*", "should": "^4.0.4", "verb": ">= 0.2.6" }, "keywords": [ "find", "for-in", "for-own", "has", "has-own", "hasOwn", "javascript", "js", "key", "keys", "loop", "node.js", "object", "own", "properties", "property", "util", "utilities", "utility", "utils", "value" ], "_id": "for-own@0.1.1", "_shasum": "bcca55849e14bcb529f9e0240f51b517b793f997", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "bcca55849e14bcb529f9e0240f51b517b793f997", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.1.tgz" }, "directories": {} }, "0.1.2": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "version": "0.1.2", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE-MIT" } ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha -R spec" }, "dependencies": { "for-in": "^0.1.1" }, "devDependencies": { "mocha": "*", "should": "^4.0.4", "verb": ">= 0.2.6" }, "keywords": [ "find", "for-in", "for-own", "has", "has-own", "hasOwn", "javascript", "js", "key", "keys", "loop", "node.js", "object", "own", "properties", "property", "util", "utilities", "utility", "utils", "value" ], "_id": "for-own@0.1.2", "_shasum": "4fd2266efd46705b7bbdfc38ac4b6f8cef24ce3b", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "4fd2266efd46705b7bbdfc38ac4b6f8cef24ce3b", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.2.tgz" }, "directories": {} }, "0.1.3": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "version": "0.1.3", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE" }, "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "dependencies": { "for-in": "^0.1.4" }, "devDependencies": { "mocha": "*", "should": "^5.2.0" }, "keywords": [ "for-in", "for-own", "has", "has-own", "hasOwn", "key", "keys", "object", "own", "value" ], "gitHead": "43c5291f22b71297e1b5855236fcc35ac9ce51e4", "_id": "for-own@0.1.3", "_shasum": "606444cde77c2f0a11088169e2e354eaf56e74fe", "_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": "606444cde77c2f0a11088169e2e354eaf56e74fe", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz" }, "directories": {} }, "0.1.4": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "version": "0.1.4", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "dependencies": { "for-in": "^0.1.5" }, "devDependencies": { "gulp-format-md": "^0.1.7", "mocha": "^2.4.5" }, "keywords": [ "for-in", "for-own", "has", "has-own", "hasOwn", "key", "keys", "object", "own", "value" ], "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "gitHead": "475607dc923dcc399c1bfdbecc0df4b957eb3779", "_id": "for-own@0.1.4", "_shasum": "0149b41a39088c7515f51ebe1c1386d45f935072", "_from": ".", "_npmVersion": "3.6.0", "_nodeVersion": "5.5.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" } ], "dist": { "shasum": "0149b41a39088c7515f51ebe1c1386d45f935072", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.4.tgz" }, "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/for-own-0.1.4.tgz_1459091314670_0.658134751021862" }, "directories": {} }, "0.1.5": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "version": "0.1.5", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "contributors": [ { "name": "Javier Cejudo", "email": "javier@javiercejudo.com", "url": "https://www.javiercejudo.com" }, { "name": "Jon Schlinkert", "email": "jon.schlinkert@sellside.com", "url": "http://twitter.com/jonschlinkert" } ], "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "dependencies": { "for-in": "^1.0.1" }, "devDependencies": { "gulp-format-md": "^0.1.11", "mocha": "^3.2.0" }, "keywords": [ "for", "for-in", "for-own", "has", "has-own", "hasOwn", "key", "keys", "object", "own", "value" ], "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "arr-flatten", "collection-map", "for-in" ] }, "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "gitHead": "e64ee3492f218c812011ec3feff4194e9272d2a1", "_id": "for-own@0.1.5", "_shasum": "5265c681a4f294dabbf17c9509b6763aa84510ce", "_from": ".", "_npmVersion": "4.1.2", "_nodeVersion": "7.5.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" } ], "dist": { "shasum": "5265c681a4f294dabbf17c9509b6763aa84510ce", "tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz" }, "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/for-own-0.1.5.tgz_1488159172480_0.8725875311065465" }, "directories": {} }, "1.0.0": { "name": "for-own", "description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.", "version": "1.0.0", "homepage": "https://github.com/jonschlinkert/for-own", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "contributors": [ { "name": "Javier Cejudo", "email": "javier@javiercejudo.com", "url": "https://www.javiercejudo.com" }, { "name": "Jon Schlinkert", "email": "jon.schlinkert@sellside.com", "url": "http://twitter.com/jonschlinkert" } ], "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/for-own.git" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "dependencies": { "for-in": "^1.0.1" }, "devDependencies": { "gulp-format-md": "^0.1.11", "mocha": "^3.2.0" }, "keywords": [ "for", "for-in", "for-own", "has", "has-own", "hasOwn", "key", "keys", "object", "own", "value" ], "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "arr-flatten", "collection-map", "for-in" ] }, "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "gitHead": "2d39447529c7b41f41e0d3443e46c5de607720ab", "_id": "for-own@1.0.0", "_shasum": "c63332f415cedc4b04dbfe70cf836494c53cb44b", "_from": ".", "_npmVersion": "4.1.2", "_nodeVersion": "7.5.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" } ], "dist": { "shasum": "c63332f415cedc4b04dbfe70cf836494c53cb44b", "tarball": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz" }, "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/for-own-1.0.0.tgz_1488159207065_0.6514356201514602" }, "directories": {} } }, "readme": "# for-own [![NPM version](https://img.shields.io/npm/v/for-own.svg?style=flat)](https://www.npmjs.com/package/for-own) [![NPM monthly downloads](https://img.shields.io/npm/dm/for-own.svg?style=flat)](https://npmjs.org/package/for-own) [![NPM total downloads](https://img.shields.io/npm/dt/for-own.svg?style=flat)](https://npmjs.org/package/for-own) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/for-own.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/for-own)\n\n> Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save for-own\n```\n\n## Usage\n\n```js\nvar forOwn = require('for-own');\n\nvar obj = {a: 'foo', b: 'bar', c: 'baz'};\nvar values = [];\nvar keys = [];\n\nforOwn(obj, function (value, key, o) {\n keys.push(key);\n values.push(value);\n});\n\nconsole.log(keys);\n//=> ['a', 'b', 'c'];\n\nconsole.log(values);\n//=> ['foo', 'bar', 'baz'];\n```\n\n## About\n\n### Related projects\n\n* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten \"Recursively flatten an array or arrays. This is the fastest implementation of array flatten.\")\n* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map \"Returns an array of mapped values from an array or object.\")\n* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in \"Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 10 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [javiercejudo](https://github.com/javiercejudo) |\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.4.2, on February 26, 2017._", "maintainers": [ { "email": "blaine.bublitz@gmail.com", "name": "phated" }, { "email": "brian.woodward@gmail.com", "name": "doowb" }, { "email": "github@sellside.com", "name": "jonschlinkert" } ], "time": { "modified": "2017-12-21T04:43:49.037Z", "created": "2014-09-20T23:32:54.980Z", "0.1.0": "2014-09-20T23:32:54.980Z", "0.1.1": "2014-09-20T23:34:04.887Z", "0.1.2": "2014-10-06T02:23:31.983Z", "0.1.3": "2015-03-24T06:26:21.194Z", "0.1.4": "2016-03-27T15:08:35.595Z", "0.1.5": "2017-02-27T01:32:53.096Z", "1.0.0": "2017-02-27T01:33:27.609Z" }, "homepage": "https://github.com/jonschlinkert/for-own", "keywords": [ "for", "for-in", "for-own", "has", "has-own", "hasOwn", "key", "keys", "object", "own", "value" ], "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/for-own.git" }, "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/for-own/issues" }, "readmeFilename": "README.md", "license": "MIT", "contributors": [ { "name": "Javier Cejudo", "email": "javier@javiercejudo.com", "url": "https://www.javiercejudo.com" }, { "name": "Jon Schlinkert", "email": "jon.schlinkert@sellside.com", "url": "http://twitter.com/jonschlinkert" } ], "_attachments": {} }