{"_id":"has-own-deep","_rev":"28046","name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"jonschlinkert","email":""}],"time":{"modified":"2023-09-20T22:03:36.000Z","created":"2015-04-02T09:20:55.987Z","1.1.0":"2018-01-27T09:33:16.129Z","1.0.0":"2018-01-27T00:53:18.111Z","0.1.4":"2015-04-04T03:29:32.257Z","0.1.3":"2015-04-04T03:15:41.872Z","0.1.2":"2015-04-04T03:11:07.482Z","0.1.1":"2015-04-02T09:25:37.158Z","0.1.0":"2015-04-02T09:20:55.987Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/has-own-deep.git"},"versions":{"1.1.0":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"1.1.0","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=6.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^3.0.1"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"b86d09ffdb7c98613459ac706dcbde294b8c64e3","_id":"has-own-deep@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"993e2da6186852456946dca38c395b002ddded2d","size":2755,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-1.1.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-own-deep-1.1.0.tgz_1517045595998_0.2070359904319048"},"directories":{},"publish_time":1517045596129,"_hasShrinkwrap":false,"_cnpm_publish_time":1517045596129},"1.0.0":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"1.0.0","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=6.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^3.0.1","split-string":"^5.0.3"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"d598e8663d215f892027bbc3b327c8af07ae5b04","_id":"has-own-deep@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"c1f51d55b435ecb971152b1ea0d59f60d26f84a0","size":2740,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-own-deep-1.0.0.tgz_1517014397168_0.8109327529091388"},"directories":{},"publish_time":1517014398111,"_cnpm_publish_time":1517014398111,"_hasShrinkwrap":false},"0.1.4":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"0.1.4","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-own-deep/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"gitHead":"fabfa2b5936efc068ac22214f44ed3f369558248","_id":"has-own-deep@0.1.4","_shasum":"91eb0cda278083158f8042a28316434e9afe7876","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"91eb0cda278083158f8042a28316434e9afe7876","size":2290,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-0.1.4.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-0.1.4.tgz"},"directories":{},"publish_time":1428118172257,"_cnpm_publish_time":1428118172257,"_hasShrinkwrap":false},"0.1.3":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"0.1.3","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-own-deep/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"gitHead":"97dab11e3f2ed72b04f8d8de0dbc5bdd0c1206e6","_id":"has-own-deep@0.1.3","_shasum":"b47058d5d81a7d4fbeb42e8274c9c8231b5806cd","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"b47058d5d81a7d4fbeb42e8274c9c8231b5806cd","size":2274,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-0.1.3.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-0.1.3.tgz"},"directories":{},"publish_time":1428117341872,"_cnpm_publish_time":1428117341872,"_hasShrinkwrap":false},"0.1.2":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"0.1.2","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-own-deep/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"gitHead":"97dab11e3f2ed72b04f8d8de0dbc5bdd0c1206e6","_id":"has-own-deep@0.1.2","_shasum":"cc26759707de3bbe9233674d761e5af2875134e6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"cc26759707de3bbe9233674d761e5af2875134e6","size":2268,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-0.1.2.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-0.1.2.tgz"},"directories":{},"publish_time":1428117067482,"_cnpm_publish_time":1428117067482,"_hasShrinkwrap":false},"0.1.1":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property using dot notation paths ('a.b.c').","version":"0.1.1","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-own-deep/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","deep","dot","has","has-own","key","keys","nested","notation","object","own","paths","prop","property","value"],"_id":"has-own-deep@0.1.1","_shasum":"2ca5492184bab1f2a8e6ea09359cc58003e4f2f7","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"2ca5492184bab1f2a8e6ea09359cc58003e4f2f7","size":2202,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-0.1.1.tgz"},"directories":{},"publish_time":1427966737158,"_cnpm_publish_time":1427966737158,"_hasShrinkwrap":false},"0.1.0":{"name":"has-own-deep","description":"Returns true if an object has an own, nested property.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/has-own-deep","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/has-own-deep.git"},"bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/has-own-deep/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"has-own-deep@0.1.0","_shasum":"7a462c7cdf53af3806b0c3b29f26247bef31688c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"7a462c7cdf53af3806b0c3b29f26247bef31688c","size":1802,"noattachment":false,"key":"/has-own-deep/-/has-own-deep-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/has-own-deep/download/has-own-deep-0.1.0.tgz"},"directories":{},"publish_time":1427966455987,"_cnpm_publish_time":1427966455987,"_hasShrinkwrap":false}},"readme":"# has-own-deep [![NPM version](https://img.shields.io/npm/v/has-own-deep.svg?style=flat)](https://www.npmjs.com/package/has-own-deep) [![NPM monthly downloads](https://img.shields.io/npm/dm/has-own-deep.svg?style=flat)](https://npmjs.org/package/has-own-deep) [![NPM total downloads](https://img.shields.io/npm/dt/has-own-deep.svg?style=flat)](https://npmjs.org/package/has-own-deep) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/has-own-deep.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/has-own-deep)\n\n> Returns true if an object has an own, nested property using dot notation paths ('a.b.c').\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save has-own-deep\n```\n\n## Usage\n\n```js\nconst hasOwnDeep = require('has-own-deep');\nconst obj = { a: { b: { c: 'd' } } };\n\nconsole.log(hasOwnDeep(obj, 'a'));     //=> true\nconsole.log(hasOwnDeep(obj, 'a.b'));   //=> true\nconsole.log(hasOwnDeep(obj, 'a.b.c')); //=> true\n\nconsole.log(hasOwnDeep(obj, 'c'));     //=> false\nconsole.log(hasOwnDeep(obj, 'a.c'));   //=> false\nconsole.log(hasOwnDeep(obj, 'a.b.d')); //=> false\n```\n\n## Keys with dots\n\nShould correctly detect deeply nested keys that have dots in them.\n\n```js\nconsole.log(hasOwnDeep({ 'a.b.c': 'd' }, 'a.b.c'));      //=> true\nconsole.log(hasOwnDeep({ 'a.b': { c: 'd' } }, 'a.b.c')); //=> true\nconsole.log(hasOwnDeep({ a: { 'b.c': 'd' } }, 'a.b.c')); //=> true\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Author\n\n**Jon Schlinkert**\n\n* [linkedin/in/jonschlinkert](https://linkedin.com/in/jonschlinkert)\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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.6.0, on January 27, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/has-own-deep","bugs":{"url":"https://github.com/jonschlinkert/has-own-deep/issues"},"license":"MIT"}