{"id":22505253,"url":"https://github.com/azer/get-object-path","last_synced_at":"2025-08-03T11:33:02.992Z","repository":{"id":13730479,"uuid":"16424772","full_name":"azer/get-object-path","owner":"azer","description":"Return the value at given object path.","archived":false,"fork":false,"pushed_at":"2016-03-23T07:36:47.000Z","size":4,"stargazers_count":23,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-02T06:04:00.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-01T00:14:22.000Z","updated_at":"2020-07-30T16:24:48.000Z","dependencies_parsed_at":"2022-07-21T16:54:57.209Z","dependency_job_id":null,"html_url":"https://github.com/azer/get-object-path","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fget-object-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fget-object-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fget-object-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fget-object-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/get-object-path/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228540836,"owners_count":17934031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T00:16:43.796Z","updated_at":"2024-12-07T00:16:44.328Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## get-object-path\n\nReturn the value at given object path.\n\n## Install\n\n```bash\n$ npm install azer/get-object-path\n```\n\n## Usage\n\n```js\nvar get = require('get-object-path')\n\nvar context = {\n  foo: 'bar',\n  qux: {\n    hello: 'world',\n    eggs: [\n      'white egg',\n      'brown egg'\n    ],\n    'delicious fruits :)': [\n      'grape',\n      'orange',\n      'carrot'\n    ]\n  }\n}\n\nget(context, 'foo')\n// =\u003e 'bar'\n\nget(context, 'qux.hello')\n// =\u003e world\n\nget(context, 'qux.eggs[0]')\n// =\u003e white egg\n\nget(context, 'qux.eggs[1]')\n// =\u003e brown egg\n\nget(context, 'qux.delicious fruits :)[1]')\n// =\u003e orange\n```\n\nSee `test.js` for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fget-object-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fget-object-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fget-object-path/lists"}