{"id":21508730,"url":"https://github.com/antoniopresto/safe-object-navigation","last_synced_at":"2025-04-09T16:41:23.689Z","repository":{"id":65472790,"uuid":"104154360","full_name":"antoniopresto/safe-object-navigation","owner":"antoniopresto","description":"Tiny helper to safe navigation into objects ","archived":false,"fork":false,"pushed_at":"2021-05-18T17:15:22.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T12:36:22.584Z","etag":null,"topics":["elvis-operator","optional-chainig","safe-navigation"],"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/antoniopresto.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":"2017-09-20T02:20:59.000Z","updated_at":"2023-03-11T12:20:42.000Z","dependencies_parsed_at":"2023-01-25T02:25:13.189Z","dependency_job_id":null,"html_url":"https://github.com/antoniopresto/safe-object-navigation","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/antoniopresto%2Fsafe-object-navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniopresto%2Fsafe-object-navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniopresto%2Fsafe-object-navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoniopresto%2Fsafe-object-navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoniopresto","download_url":"https://codeload.github.com/antoniopresto/safe-object-navigation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248068970,"owners_count":21042589,"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":["elvis-operator","optional-chainig","safe-navigation"],"created_at":"2024-11-23T21:10:39.166Z","updated_at":"2025-04-09T16:41:23.660Z","avatar_url":"https://github.com/antoniopresto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safe navigation into objects\n\nnpm install --save q_\n\n```js\n\nconst q = require('q_');\n\nconst object = {\n  a: {\n    b: {\n      c: {\n        d: 1,\n        array: ['foo', 'bar'],\n      },\n    },\n  },\n};\n```\n\n - ``` q(object, 'a.b.c.d'); // =\u003e 1 ```\n - ``` q(object, 'a.b.c.array[1]'); // =\u003e bar```\n - ``` q(object, 'foo'); // =\u003e undefined```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniopresto%2Fsafe-object-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoniopresto%2Fsafe-object-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniopresto%2Fsafe-object-navigation/lists"}