150 lines
6.8 KiB
JSON
150 lines
6.8 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "for-own@^0.1.4",
|
|
"scope": null,
|
|
"escapedName": "for-own",
|
|
"name": "for-own",
|
|
"rawSpec": "^0.1.4",
|
|
"spec": ">=0.1.4 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/object.omit"
|
|
]
|
|
],
|
|
"_from": "for-own@>=0.1.4 <0.2.0",
|
|
"_id": "for-own@0.1.5",
|
|
"_inCache": true,
|
|
"_location": "/for-own",
|
|
"_nodeVersion": "7.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/for-own-0.1.5.tgz_1488159172480_0.8725875311065465"
|
|
},
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "4.1.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "for-own@^0.1.4",
|
|
"scope": null,
|
|
"escapedName": "for-own",
|
|
"name": "for-own",
|
|
"rawSpec": "^0.1.4",
|
|
"spec": ">=0.1.4 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/object.omit"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
|
|
"_shasum": "5265c681a4f294dabbf17c9509b6763aa84510ce",
|
|
"_shrinkwrap": null,
|
|
"_spec": "for-own@^0.1.4",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/object.omit",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/for-own/issues"
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"for-in": "^1.0.1"
|
|
},
|
|
"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": {
|
|
"gulp-format-md": "^0.1.11",
|
|
"mocha": "^3.2.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "5265c681a4f294dabbf17c9509b6763aa84510ce",
|
|
"tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "e64ee3492f218c812011ec3feff4194e9272d2a1",
|
|
"homepage": "https://github.com/jonschlinkert/for-own",
|
|
"keywords": [
|
|
"for",
|
|
"for-in",
|
|
"for-own",
|
|
"has",
|
|
"has-own",
|
|
"hasOwn",
|
|
"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-own",
|
|
"optionalDependencies": {},
|
|
"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._",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/for-own.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"version": "0.1.5"
|
|
}
|