motion
Version:
motion - moving development forward
81 lines (80 loc) • 3.19 kB
JSON
{
"_args": [
[
"for-own@https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "for-own@>=0.1.3 <0.2.0",
"_id": "for-own@0.1.3",
"_inCache": true,
"_location": "/for-own",
"_phantomChildren": {},
"_requested": {
"name": "for-own",
"raw": "for-own@https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"rawSpec": "https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"type": "remote"
},
"_requiredBy": [
"/object.omit"
],
"_resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"_shasum": "606444cde77c2f0a11088169e2e354eaf56e74fe",
"_shrinkwrap": null,
"_spec": "for-own@https://registry.npmjs.org/for-own/-/for-own-0.1.3.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/for-own/issues"
},
"dependencies": {
"for-in": "^0.1.4"
},
"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.",
"devDependencies": {
"mocha": "*",
"should": "^5.2.0"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/jonschlinkert/for-own",
"keywords": [
"for-in",
"for-own",
"has",
"has-own",
"hasOwn",
"key",
"keys",
"object",
"own",
"value"
],
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/for-own/blob/master/LICENSE"
},
"main": "index.js",
"name": "for-own",
"optionalDependencies": {},
"readme": "# for-own [](http://badge.fury.io/js/for-own)\n\n> 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`.\n\n## Install\n#### Install with [npm](npmjs.org):\n\n```bash\nnpm i for-own --save\n```\n\n## Run tests\n\n```bash\nnpm test\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## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\nCopyright (c) 2014 Jon Schlinkert, contributors.\nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 20, 2014._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/for-own.git"
},
"scripts": {
"test": "mocha"
},
"version": "0.1.3"
}