148 lines
6.7 KiB
JSON
148 lines
6.7 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "for-in@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "for-in",
|
|
"name": "for-in",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/for-own"
|
|
]
|
|
],
|
|
"_from": "for-in@>=1.0.1 <2.0.0",
|
|
"_id": "for-in@1.0.2",
|
|
"_inCache": true,
|
|
"_location": "/for-in",
|
|
"_nodeVersion": "7.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/for-in-1.0.2.tgz_1488298375632_0.9562143329530954"
|
|
},
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "4.1.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "for-in@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "for-in",
|
|
"name": "for-in",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/for-own"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
|
|
"_shasum": "81068d295a8142ec0ac726c6e2200c30fb6d5e80",
|
|
"_shrinkwrap": null,
|
|
"_spec": "for-in@^1.0.1",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/for-own",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/for-in/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Jon Schlinkert",
|
|
"email": "jon.schlinkert@sellside.com",
|
|
"url": "http://twitter.com/jonschlinkert"
|
|
},
|
|
{
|
|
"name": "Paul Irish",
|
|
"url": "http://paulirish.com"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"description": "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",
|
|
"devDependencies": {
|
|
"gulp-format-md": "^0.1.11",
|
|
"mocha": "^3.2.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "81068d295a8142ec0ac726c6e2200c30fb6d5e80",
|
|
"tarball": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "5f97ad4f6556e938d9b71614259ddd8044a081e3",
|
|
"homepage": "https://github.com/jonschlinkert/for-in",
|
|
"keywords": [
|
|
"for",
|
|
"for-in",
|
|
"for-own",
|
|
"has",
|
|
"has-own",
|
|
"hasOwn",
|
|
"in",
|
|
"key",
|
|
"keys",
|
|
"object",
|
|
"own",
|
|
"value"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
{
|
|
"name": "doowb",
|
|
"email": "brian.woodward@gmail.com"
|
|
}
|
|
],
|
|
"name": "for-in",
|
|
"optionalDependencies": {},
|
|
"readme": "# for-in [![NPM version](https://img.shields.io/npm/v/for-in.svg?style=flat)](https://www.npmjs.com/package/for-in) [![NPM monthly downloads](https://img.shields.io/npm/dm/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![NPM total downloads](https://img.shields.io/npm/dt/for-in.svg?style=flat)](https://npmjs.org/package/for-in) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/for-in.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/for-in)\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`. JavaScript/Node.js\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save for-in\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## 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-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own \"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### 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| 16 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [paulirish](https://github.com/paulirish) |\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 28, 2017._",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/for-in.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"verb": {
|
|
"run": true,
|
|
"toc": false,
|
|
"layout": "default",
|
|
"tasks": [
|
|
"readme"
|
|
],
|
|
"plugins": [
|
|
"gulp-format-md"
|
|
],
|
|
"related": {
|
|
"list": [
|
|
"arr-flatten",
|
|
"collection-map",
|
|
"for-own"
|
|
]
|
|
},
|
|
"reflinks": [
|
|
"verb"
|
|
],
|
|
"lint": {
|
|
"reflinks": true
|
|
}
|
|
},
|
|
"version": "1.0.2"
|
|
}
|