{"_id":"get-object","_rev":"13-5497ebc51967ea2ad0665b28d1b0cb4f","name":"get-object","description":"Get a property from an object using dot (object path) notation.","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"get-object","description":"Get a object from a property on a nested object.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/get-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/get-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/get-object/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/get-object/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"ansi":"^0.3.0","benchmark":"^1.0.0","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["check","dot","find","has","hasOwn","is","is-object","isobject","javascript","js","key","keys","node.js","notation","object","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"dependencies":{"chalk":"^0.5.1","lodash":"^2.4.1"},"_id":"get-object@0.1.1","_shasum":"26f10e7429fe8c73950d447ad14c96f7da05cfcd","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"26f10e7429fe8c73950d447ad14c96f7da05cfcd","tarball":"https://registry.npmjs.org/get-object/-/get-object-0.1.1.tgz","integrity":"sha512-Gv5Bh0spaF9J6YSOWL+NYRqeUpxXFNyZxu+JiOW0QRxZMS3+Y5nGjlIx2z8JQCpYyIgOjZ3hzcIvOQTaElA6nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDR1vV9v4fJ0iRobHLWTs6hM7j8C33FgoRDkjIQy4A1CgIhAJAXqZ/Pu4vXH3ofNjFHNZ9UE7NGcrttWC34+kJEq3II"}]}},"0.1.2":{"name":"get-object","description":"Get a object from a property on a nested object.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/get-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/get-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/get-object/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/get-object/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"ansi":"^0.3.0","benchmark":"^1.0.0","chalk":"^0.5.1","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["check","dot","find","has","hasOwn","is","is-object","isobject","javascript","js","key","keys","node.js","notation","object","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"_id":"get-object@0.1.2","_shasum":"398b97488faa912ce155653f002c0b4893843211","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"398b97488faa912ce155653f002c0b4893843211","tarball":"https://registry.npmjs.org/get-object/-/get-object-0.1.2.tgz","integrity":"sha512-jzdO4TVbL1HV0Yob4mJ9Subzbpg0hw+o9AbmTFVPku8ryU0IsArHie56Gvd+lWe0iG6U6z/ZY3z+Mecx5qMAAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8wgN6THz72AI75yEdy7DnEY3u8TLSRfEWNQYp3CbRhAiB6FpxiYXDu7BVH8xwX/u90oCi1ii8vt74zg83gLrn3pQ=="}]}},"0.1.3":{"name":"get-object","description":"Get a object from a property on a nested object.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/get-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/get-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/get-object/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/get-object/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"ansi":"^0.3.0","benchmark":"^1.0.0","chalk":"^0.5.1","mocha":"*","should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0"},"keywords":["check","dot","find","has","hasOwn","is","is-object","isobject","javascript","js","key","keys","node.js","notation","object","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"dependencies":{"isobject":"^0.2.0"},"_id":"get-object@0.1.3","_shasum":"66177f8644ad487f105d8ae620ca74e6359917cc","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"66177f8644ad487f105d8ae620ca74e6359917cc","tarball":"https://registry.npmjs.org/get-object/-/get-object-0.1.3.tgz","integrity":"sha512-Iz/WQJd010qFC1Kfn7d4j6QEuy165gjAqFaPOu/RetmW20J01vtgnBI2o9FMTnkegIDcsLurCT5/yWim5XebnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHar+RCC+1SWQyxZfMtJOBe0fESCFd9R3l6a4xdVgyX/AiB4r5ij43KSxQIn5iZqIrxYPrGANA5NVHVr6L+HjtjL6w=="}]}},"0.2.0":{"name":"get-object","description":"Get a property from an object using dot (object path) notation.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/get-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/get-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/get-object/issues"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-number":"^2.0.2","isobject":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","dot","find","has","hasOwn","is","is-object","isobject","javascript","js","key","keys","node.js","notation","object","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"verb":{"related":{"list":["get-value","set-value","union-value","unset-value","upsert-value","del-value"]}},"files":["index.js"],"gitHead":"2837297e175208c5926cbdb671614f7f1bc0c5ab","_id":"get-object@0.2.0","_shasum":"d92ff7d5190c64530cda0543dac63a3d47fe8c0c","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"d92ff7d5190c64530cda0543dac63a3d47fe8c0c","tarball":"https://registry.npmjs.org/get-object/-/get-object-0.2.0.tgz","integrity":"sha512-7P6y6k6EzEFmO/XyUyFlXm1YLJy9xeA1x/grNV8276abX5GuwUtYgKFkRFkLixw4hf4Pz9q2vgv/8Ar42R0HuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrE2Tw3xQP38XW4n6/N0IaRIzYTllwGTMMgPyv7rliuAiAWA+o6yziJWQ0DuGgSTVIuoGPcU9Zbl/yxCjeUUsEkpQ=="}]}}},"readme":"# get-object [![NPM version](https://badge.fury.io/js/get-object.svg)](http://badge.fury.io/js/get-object)\n\n> Get a property from an object using dot (object path) notation.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i get-object --save\n```\n\n## Usage\n\n```js\nvar get = require('get-object');\n\nget({a: {b: {c: 'd'}}}, 'a.b.c');\n//=> {c: 'd'}\n```\n\nIf you want only the value, not key/value, use [get-value](https://github.com/jonschlinkert/get-value).\n\n## get a value from an object\n\n```js\nget({a: 'aaa', b: {c: 'd'}}, 'a');\n//=> {a: 'aaa'}\n\nget({a: 'a', b: {c: 'd'}}, 'b.c');\n//=> {c: 'd'}\n```\n\n## get a value from an array\n\n```js\nget(['a', 'b', 'c'], '0');\n//=> ['a']\n\nget(['a', 'b', 'c'], 2);\n//=> ['c']\n```\n\n## get nested value from an array\n\n```js\nget({a: ['a', 'b', 'c']}, 'a.0');\n//=> ['a']\n\nget({a: ['a', 'b', 'c']}, 'a.2');\n//=> ['c']\n\nget({a: {b: ['a', 'b', 'c']}}, 'a.b.2');\n//=> ['c']\n```\n\n## support array notation\n\n```js\nget({a: ['a', 'b', 'c']}, 'a[0]');\n//=> ['a']\n\nget({a: ['a', 'b', 'c']}, 'a[2]');\n//=> ['c']\n\nget({a: {b: ['a', 'b', {c: 'd'}]}}, 'a.b[2].c');\n//=> {c: 'd'}\n```\n\n## Related projects\n\n* [del-value](https://www.npmjs.com/package/del-value): Delete deeply nested value from an object using dot notation like `  a.b.c.x` and return the… [more](https://www.npmjs.com/package/del-value) | [homepage](https://github.com/tunnckocore/del-value)\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths (`  a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value)\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value)\n* [union-value](https://www.npmjs.com/package/union-value): Set an array of unique values as the property of an object. Supports setting deeply… [more](https://www.npmjs.com/package/union-value) | [homepage](https://github.com/jonschlinkert/union-value)\n* [unset-value](https://www.npmjs.com/package/unset-value): Delete nested properties from an object using dot notation. | [homepage](https://github.com/jonschlinkert/unset-value)\n* [upsert-value](https://www.npmjs.com/package/upsert-value): Update or set nested values and any intermediaries with dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/doowb/upsert-value)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/get-object/issues/new).\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\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 27, 2015._\n","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-18T07:51:54.546Z","created":"2014-10-06T17:43:11.123Z","0.1.1":"2014-10-06T17:43:11.123Z","0.1.2":"2014-10-06T17:45:36.605Z","0.1.3":"2014-10-08T06:42:56.879Z","0.2.0":"2015-08-27T08:58:33.983Z"},"homepage":"https://github.com/jonschlinkert/get-object","keywords":["check","dot","find","has","hasOwn","is","is-object","isobject","javascript","js","key","keys","node.js","notation","object","pick","prop","properties","property","props","string","type","type-of","typeof","util","utilities","utility","utils","value"],"repository":{"type":"git","url":"git://github.com/jonschlinkert/get-object.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/get-object/issues"},"readmeFilename":"README.md","users":{},"license":"MIT"}