motion
Version:
motion - moving development forward
79 lines (78 loc) • 3.16 kB
JSON
{
"_args": [
[
"for-in@https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "for-in@>=0.1.4 <0.2.0",
"_id": "for-in@0.1.4",
"_inCache": true,
"_location": "/for-in",
"_phantomChildren": {},
"_requested": {
"name": "for-in",
"raw": "for-in@https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"rawSpec": "https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"type": "remote"
},
"_requiredBy": [
"/for-own"
],
"_resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"_shasum": "9f5cf7b4ffc7e1ae6591a4e97b177aa59d70fb2e",
"_shrinkwrap": null,
"_spec": "for-in@https://registry.npmjs.org/for-in/-/for-in-0.1.4.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/for-in/issues"
},
"dependencies": {},
"description": "Iterate over the own and inherited enumerable properties of an objecte, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js",
"devDependencies": {
"mocha": "*",
"should": "^4.0.4"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/jonschlinkert/for-in",
"keywords": [
"for-in",
"for-own",
"has",
"has-own",
"hasOwn",
"key",
"keys",
"object",
"own",
"value"
],
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/for-in/blob/master/LICENSE"
},
"main": "index.js",
"name": "for-in",
"optionalDependencies": {},
"readme": "# for-in [](http://badge.fury.io/js/for-in)\n\n> Iterate over the own and inherited enumerable properties of an objecte, 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#### Install with [npm](npmjs.org):\n\n```bash\nnpm i for-in --save\n```\n\n## Run tests\n\n```bash\nnpm test\n```\n\n## Usage\n\n```js\nvar forIn = require('for-in');\n\nvar obj = {a: 'foo', b: 'bar', c: 'baz'};\nvar values = [];\nvar keys = [];\n\nforIn(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-in.git"
},
"scripts": {
"test": "mocha"
},
"version": "0.1.4"
}