{"id":28207366,"url":"https://github.com/sbimochan/pathify","last_synced_at":"2026-02-16T16:39:52.071Z","repository":{"id":287026013,"uuid":"963378630","full_name":"sbimochan/pathify","owner":"sbimochan","description":"A lightweight utility that recursively walks through a nested JavaScript object and replaces all leaf values with their corresponding dot-notation paths.","archived":false,"fork":false,"pushed_at":"2025-04-09T16:00:42.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T13:58:56.027Z","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/sbimochan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-09T15:34:30.000Z","updated_at":"2025-04-09T16:00:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e658330-cfb0-4ce5-b764-6ae4e378ac86","html_url":"https://github.com/sbimochan/pathify","commit_stats":null,"previous_names":["sbimochan/pathify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sbimochan/pathify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fpathify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fpathify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fpathify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fpathify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbimochan","download_url":"https://codeload.github.com/sbimochan/pathify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fpathify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29513280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-05-17T12:15:35.279Z","updated_at":"2026-02-16T16:39:52.065Z","avatar_url":"https://github.com/sbimochan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pathify\n\n\u003e Generate dot-notated key paths from deeply nested JavaScript objects — clean, recursive, and zero dependencies.\n\n---\n\n## ✨ Features\n\n- 🔁 Recursively walks any nested object\n- 📌 Replaces all leaf values with their full dot-notation paths\n- 🧼 Preserves original object structure\n- 🪶 Lightweight — no dependencies\n- ⚙️ Optional base path prefix\n\n---\n\n## 📦 Install\n\n```bash\nnpm install @sbimochan/pathify\n```\n\n## Test\n\n```bash\nnpm run test\n```\n\n## Usage\n\n```javascript\nconst { pathify } = require(\"@sbimochan/pathify\");\nconst output = pathify(input);\n```\n\n```javascript\nconst input = {\n  user: {\n    profile: {\n      name: \"\",\n      age: \"\"\n    },\n    settings: {\n      theme: \"\"\n    }\n  }\n};\n```\n\n### Expected output\n\n```javascript\n{\n  user: {\n    profile: {\n      name: 'user.profile.name',\n      age: 'user.profile.age'\n    },\n    settings: {\n      theme: 'user.settings.theme'\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbimochan%2Fpathify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbimochan%2Fpathify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbimochan%2Fpathify/lists"}