{"id":21976762,"url":"https://github.com/terraindata/yadeep","last_synced_at":"2026-03-08T14:37:04.862Z","repository":{"id":33874310,"uuid":"163224608","full_name":"terraindata/yadeep","owner":"terraindata","description":"Yet another deep JSON getter/setter module","archived":false,"fork":false,"pushed_at":"2023-01-07T04:14:58.000Z","size":905,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T22:23:53.725Z","etag":null,"topics":["deep","get","js","json","set"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terraindata.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":"2018-12-26T23:07:03.000Z","updated_at":"2022-11-26T06:28:02.000Z","dependencies_parsed_at":"2023-01-15T03:06:14.205Z","dependency_job_id":null,"html_url":"https://github.com/terraindata/yadeep","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/terraindata/yadeep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraindata%2Fyadeep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraindata%2Fyadeep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraindata%2Fyadeep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraindata%2Fyadeep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terraindata","download_url":"https://codeload.github.com/terraindata/yadeep/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraindata%2Fyadeep/sbom","scorecard":{"id":874645,"data":{"date":"2025-08-11","repo":{"name":"github.com/terraindata/yadeep","commit":"b5a0afc812d114c68bb3235ac78eb192c4952e58"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T05:31:34.801Z","repository_id":33874310,"created_at":"2025-08-24T05:31:34.802Z","updated_at":"2025-08-24T05:31:34.802Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004062,"owners_count":26083667,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["deep","get","js","json","set"],"created_at":"2024-11-29T16:12:13.072Z","updated_at":"2025-10-10T13:32:16.925Z","avatar_url":"https://github.com/terraindata.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yadeep\n[![Build Status](https://travis-ci.org/terraindata/yadeep.svg?branch=master)](https://travis-ci.org/terraindata/yadeep)\n[![version](https://img.shields.io/npm/v/yadeep.svg)](https://www.npmjs.org/package/yadeep)\n[![dependencies](https://david-dm.org/terraindata/yadeep.svg)](https://david-dm.org/terraindata/yadeep)\n[![devDependencies](https://david-dm.org/terraindata/yadeep/dev-status.svg)](https://david-dm.org/terraindata/yadeep#info=devDependencies)\n\n_Yet another deep JSON getter/setter module_\n\n## Why?\n\nSeveral libraries already exist for getting and setting fields in deep JSON objects.  However,\nnone had the flexibility we needed for building an enterprise-quality ETL solution.\n\nA key differentiator is that `yadeep` builds on top of [terrain-keypath](https://github.com/terraindata/terrain-keypath).\nThis means:\n\n * We can work with **any** field name in a JSON document.  Do you have field names like `'*'`, `'.'`, etc.?  yadeep has\n   you covered.  Most libraries sacrifice this generality to use characters like those as waypoint delimiters,\n   wildcards, etc.\n * We can get and set on **wildcard** keypaths.  Do you want to increment the values of all children of an object?  Or\n   are you writing some aggregation function on deeply-nested sub-documents?  yadeep will help.\n * We can also handle some level of **nested wildcards**.  Keypath expressions with multiple wildcard tokens will try\n   to behave in a semantically intuitive way (though expressions with more than two wildcard tokens are quite exotic\n   in the real world and hence not well-tested).\n\nyadeep also aims to provide the simplest syntax it can while still supporting this level of generality.  If you accept\nour keypath conventions, you can immediately use `yadeep.get(object, keypath)` and `yadeep.set(object, keypath, value)`;\nthe aim is to make the API human readable and somewhat self-documenting.\n\nAdditional functions for searching in and traversing deep JSON objects can be found in the [code](https://github.com/terraindata/yadeep/blob/master/yadeep.ts).\n\nTypeScript definitions included!\n\n## Installation\n\n    npm install yadeep\n\n## Basic Usage\n\n```js\nconst { KeyPath } = require('terrain-keypath');\nconst yadeep = require('yadeep');\n\nconst doc = {\n  name: 'Bob',\n  hardarr: [['a'], ['b', [{count: 1}, {count: 2}]]]\n};\n\nyadeep.get(doc, KeyPath(['hardarr', '1', '0'])); // 'b'\nyadeep.get(doc, KeyPath(['hardarr', '1', '1', -1, 'count'])); // [1, 2]\n\nyadeep.set(doc, KeyPath(['hardarr', '0', '0']), 'not a'); // changes 'a' -\u003e 'not a'\nyadeep.set(doc, KeyPath(['hardarr', '1', '1', -1, 'count']), 17); // changes both 'counts's to 17\n```\n\nSee [yadeepTests.ts](https://github.com/terraindata/yadeep/blob/master/yadeepTests.ts) for a battery of additional tests and usages.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraindata%2Fyadeep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraindata%2Fyadeep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraindata%2Fyadeep/lists"}