{"id":26493273,"url":"https://github.com/bblfsh/uast-viewer","last_synced_at":"2025-03-20T09:51:54.127Z","repository":{"id":57384323,"uuid":"132933090","full_name":"bblfsh/uast-viewer","owner":"bblfsh","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-28T21:49:11.000Z","size":3046,"stargazers_count":7,"open_issues_count":18,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T04:48:17.568Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bblfsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-10T17:27:18.000Z","updated_at":"2022-02-06T14:59:12.000Z","dependencies_parsed_at":"2022-09-13T11:31:26.621Z","dependency_job_id":null,"html_url":"https://github.com/bblfsh/uast-viewer","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblfsh%2Fuast-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblfsh%2Fuast-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblfsh%2Fuast-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblfsh%2Fuast-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblfsh","download_url":"https://codeload.github.com/bblfsh/uast-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244538683,"owners_count":20468765,"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":"2025-03-20T09:51:53.567Z","updated_at":"2025-03-20T09:51:54.122Z","avatar_url":"https://github.com/bblfsh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/bblfsh/uast-viewer.svg)](https://travis-ci.org/bblfsh/uast-viewer) [![Greenkeeper badge](https://badges.greenkeeper.io/bblfsh/uast-viewer.svg)](https://greenkeeper.io/)\n\n# UAST Viewer\n\n`uast-viewer` is the simplest way to visualize [Universal Abstract Syntax Trees (UASTs)](https://doc.bblf.sh/uast/uast-specification.html).\n\n## Features\n\n - Drop-in component to display a UAST. [Example](https://uast-viewer.bblf.sh/#!/Uncontrolled)\n - Get full control of the tree. [Example](https://uast-viewer.bblf.sh/#!/Controlled)\n - Integration with online source code editor [Example](https://uast-viewer.bblf.sh/#!/With%20source%20code)\n\n## Documentation\n\nSee the [documentation](https://uast-viewer.bblf.sh/) with live examples.\n\n## Installation\n\n1. Install UAST Viewer as a dependency\n\n    ```bash\n    # Yarn\n    $ yarn add uast-viewer\n\n    # NPM\n    $ npm install uast-viewer\n    ```\n\n2. Import `uast-viewer` component\n\n    ```js\n    import UASTViewer from 'uast-viewer';\n    ```\n\n3. Import styles by including `default-theme.css`\n\n    ```js\n    import 'uast-viewer/dist/default-theme.css';\n    ```\n\n4. Render component with UAST JSON\n\n    ```js\n    \u003cUASTViewer uast={uastJSON} /\u003e\n    ```\n\n\n## Contribute\n\n[Contributions](https://github.com/bblfsh/uast-viewer/issues) are more than welcome, if you are interested please take a look to our [Contributing Guidelines](CONTRIBUTING.md).\n\n\n## Code of Conduct\n\nAll activities under source{d} projects are governed by the [source{d} code of conduct](https://github.com/bblfsh/guide/blob/master/.github/CODE_OF_CONDUCT.md).\n\n\n## License\n\nApache License Version 2.0, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblfsh%2Fuast-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblfsh%2Fuast-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblfsh%2Fuast-viewer/lists"}