{"id":19370101,"url":"https://github.com/bustle/rad","last_synced_at":"2025-09-09T07:44:09.416Z","repository":{"id":138356630,"uuid":"74386171","full_name":"bustle/rad","owner":"bustle","description":"WIP for prototype node graph library","archived":false,"fork":false,"pushed_at":"2017-05-14T22:32:45.000Z","size":65,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-24T14:24:01.509Z","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/bustle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-21T17:04:42.000Z","updated_at":"2016-12-02T00:48:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"363f4e4a-9b32-46d7-8a48-59a7e30b5e0d","html_url":"https://github.com/bustle/rad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bustle/rad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Frad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Frad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Frad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Frad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bustle","download_url":"https://codeload.github.com/bustle/rad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Frad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261060131,"owners_count":23103981,"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-11-10T08:14:13.896Z","updated_at":"2025-06-21T04:06:49.001Z","avatar_url":"https://github.com/bustle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RadGraph\n*WIP* project to prototype working with a graph database at scale. The goal is to provide developers with the best possible interface for working against data in a graph. This means clearly defined NodeTypes, EdgeTypes, and packagable schemas.\n\n#### Example Schema\n```\nimport graph from 'rad'\n\nconst graph = new Graph('Bustle')\n\ngraph.schema(define =\u003e {\n  define.node('User', node =\u003e {\n    node.hasOne('Post')\n  })\n  define.node('Post', node =\u003e {\n    node.hasOne('User')\n  })\n})\n\nconst UserNode = graph.nodeTypes['User']\nconst PostNode = graph.nodeTypes['User']\n\nconst {User, Post} = graph.nodes\nconst Post = PostType.Model\n\nconst tyler = await User.create({ name: 'Tyler' })\nconst post = await Post.create({ title: 'My Post' })\n\ntyler.post = post\n\n```\n\n# Testing and Debugging\n* `npm t`\n* `npm t -- --watch`\n* `npm t -- debug` _to use `node-inspector` so you can set `debugger` breakpoints that halt in a repl. Use the key `c` to continue since `node-inspecor` always breaks on the first executed line. Type `repl` to start a `repl` session and have access to the currently executing scope of the breakpoint._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbustle%2Frad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbustle%2Frad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbustle%2Frad/lists"}