{"id":20596092,"url":"https://github.com/davidfig/tree","last_synced_at":"2025-04-14T23:44:25.671Z","repository":{"id":50802511,"uuid":"131554616","full_name":"davidfig/tree","owner":"davidfig","description":"vanilla-javascript drag-and-drop UI tree","archived":false,"fork":false,"pushed_at":"2023-02-09T01:14:11.000Z","size":1861,"stargazers_count":39,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:44:20.152Z","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/davidfig.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-04-30T04:12:03.000Z","updated_at":"2025-01-21T18:53:32.000Z","dependencies_parsed_at":"2023-01-28T15:17:40.932Z","dependency_job_id":null,"html_url":"https://github.com/davidfig/tree","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/davidfig%2Ftree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ftree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ftree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Ftree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfig","download_url":"https://codeload.github.com/davidfig/tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981259,"owners_count":21193143,"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-16T08:15:07.323Z","updated_at":"2025-04-14T23:44:25.655Z","avatar_url":"https://github.com/davidfig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree\nVanilla drag-and-drop UI tree\n\n## Rationale\nI needed a tree components for my tools. Most of the available visual tree APIs require vue or react. And so yy-tree was created.\n\n## Super Simple Example\n```js\nconst data = {\n    children: [\n        { name: 'fruits', children: [\n            { name: 'apples', children: [] },\n            { name: 'oranges', children: [\n                { name: 'tangerines', children: [] },\n                { name: 'mandarins', children: [] },\n                { name: 'pomelo', children: [] },\n                { name: 'blood orange', children: [] },\n            ] }\n        ]},\n        { name: 'vegetables', children: [\n            { name: 'brocolli', children: [] },\n        ] },\n    ]\n}\n\nconst tree = new Tree(data, { parent: document.body })\n```\n\n## Live Examples\nhttps://davidfig.github.io/tree/\n\n## API Documentation\nhttps://davidfig.github.io/tree/jsdoc/\n\n## Installation\n\n    npm i yy-tree\n\n## license\nMIT License\n(c) 2021 [YOPEY YOPEY LLC](https://yopeyopey.com/) by [David Figatner](https://twitter.com/yopey_yopey/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Ftree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfig%2Ftree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Ftree/lists"}