{"id":17766638,"url":"https://github.com/floatdrop/nested-prop","last_synced_at":"2025-03-15T13:30:52.367Z","repository":{"id":29992730,"uuid":"33540158","full_name":"floatdrop/nested-prop","owner":"floatdrop","description":"Get and set nested properties","archived":false,"fork":false,"pushed_at":"2015-04-07T12:25:00.000Z","size":124,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T01:31:42.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floatdrop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-07T11:53:06.000Z","updated_at":"2021-08-13T03:28:50.000Z","dependencies_parsed_at":"2022-08-17T20:35:14.895Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/nested-prop","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fnested-prop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fnested-prop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fnested-prop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fnested-prop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/nested-prop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243508114,"owners_count":20301949,"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-10-26T20:33:35.873Z","updated_at":"2025-03-15T13:30:52.362Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nested-prop [![Build Status](https://travis-ci.org/floatdrop/nested-prop.svg?branch=master)](https://travis-ci.org/floatdrop/nested-prop)\n\nGet and set nested properties.\n\n\n## Install\n\n```\n$ npm install --save nested-prop\n```\n\n\n## Usage\n\n```js\nvar nestedProp = require('nested-prop');\n\nvar obj = {a: ''};\n\nnestedProp.set(obj, 'a.b.c', 1);\n//=\u003e {a: {b: {c: 1}}}\n\nnestedProp.get(obj, 'a.b.c');\n//=\u003e 1\n```\n\n\n## API\n\n### nestedProp.get(object, path)\n\nGets property from object by path.\n\n### nestedProp.set(object, path, value)\n\nSets value to property by path. If some properties is not assignable Objects (like `string`) - they will be overwritten.\n\n## License\n\nMIT © [Vsevolod Strukchinsky](http://github.yandex-team.ru/floatdrop)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fnested-prop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fnested-prop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fnested-prop/lists"}