{"id":22147245,"url":"https://github.com/centerforopenscience/treebeard","last_synced_at":"2025-07-26T02:31:41.680Z","repository":{"id":21282560,"uuid":"24598521","full_name":"CenterForOpenScience/treebeard","owner":"CenterForOpenScience","description":"Hierarchical grid implementation in Mithril ","archived":false,"fork":false,"pushed_at":"2017-11-30T20:02:41.000Z","size":181828,"stargazers_count":27,"open_issues_count":6,"forks_count":19,"subscribers_count":11,"default_branch":"develop","last_synced_at":"2024-04-14T05:19:04.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://centerforopenscience.github.io/treebeard/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CenterForOpenScience.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":"2014-09-29T14:28:39.000Z","updated_at":"2022-04-15T12:33:47.000Z","dependencies_parsed_at":"2022-09-02T18:01:26.389Z","dependency_job_id":null,"html_url":"https://github.com/CenterForOpenScience/treebeard","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Ftreebeard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Ftreebeard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Ftreebeard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Ftreebeard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CenterForOpenScience","download_url":"https://codeload.github.com/CenterForOpenScience/treebeard/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227642219,"owners_count":17797850,"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-12-01T23:15:35.410Z","updated_at":"2024-12-01T23:15:36.115Z","avatar_url":"https://github.com/CenterForOpenScience.png","language":"JavaScript","readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/CenterForOpenScience/treebeard/master/demo/treebeard.png\" alt=\"Treebeard Logo\"/\u003e\n\u003c/p\u003e\n\nDevelop: \u003cimg src=\"https://travis-ci.org/CenterForOpenScience/treebeard.svg?branch=develop\" alt=\"Travis build fopr Develop\"/\u003e\n\nMaster: \u003cimg src=\"https://travis-ci.org/CenterForOpenScience/treebeard.svg?branch=master\" alt=\"Travis build for Master\"/\u003e\n\n\u003ci style=\"text-align:center\"\u003e Logo designed by [fayetality](https://github.com/fayetality \"fayetality\")  \u003c/i\u003e\n\ntreebeard\n=========\n\nHierarchical data renderer built with Mithril\n\n\nUsing the library\n-----------------\n\nYou can install Treebeard with bower. In your project simply run \n\n```bower install treebeard --save```\n\nRemember to reference the required files through bower_components. \n\n\nYou can also just take the files in `/dist` folder. You need the css and js files, either minified or in full and add them to your project page.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"path/to/treebeard.css\" type=\"text/css\" /\u003e\n\u003cscript src=\"https://code.jquery.com/jquery-2.1.1.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/mithril.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/treebeard.js\"\u003e\u003c/script\u003e\n```\n\n### CommonJS\n\nIf you are using a CommonJS-compatible module loader (e.g. Webpack or Browserify), you can load treebeard like so:\n\n```js\nvar Treebeard = require('treebeard');\n```\n\n**NOTE for Webpack users**: Loading Treebeard with Webpack will load its CSS as a module using the `style-loader` and `css-loader`. You should configure Webpack to use these loaders for `.css` files.\n\n```\nnpm install style-loader css-loader --save\n```\n\nAdd the following to your Webpack config.\n\n```js\n// webpack.config.js\n// ...\n  module: {\n    loaders: [\n      { test: /\\.css$/, loader: 'style!css' },\n    ],\n  },\n```\n\n* * * \nRead more about using the library in the Wiki: https://github.com/CenterForOpenScience/treebeard/wiki\n\n* * * \n\n\nInstallation for Developers\n---------------------------\nIf you are a developer and want to work on the source code use the guide below. \n\nBegin by cloning the project in any way that support your work flow, then go to the main project folder and  run the following commands to install dependencies\n\nFor NPM:\n\n    npm install\n\nfor Bower \n\n    bower install\n\nthen run gulp like this \n\n    gulp \n\nGulp will be watching for changes in the CSS, LESS and JS files so any time you change the distribution folder will be automatically regenerated. \n\n\nIf you would like a simple server instance for this app you can install http-server\nhttps://www.npmjs.org/package/http-server\nInstall with NPM:\n\n    npm install http-server\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Ftreebeard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcenterforopenscience%2Ftreebeard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Ftreebeard/lists"}