uast-viewer
is the simplest way to visualize Universal Abstract Syntax Trees (UASTs).
See the documentation with live examples.
Install UAST Viewer as a dependency
# Yarn
$ yarn add uast-viewer
# NPM
$ npm install uast-viewer
Import uast-viewer
component
import UASTViewer from 'uast-viewer';
Import styles by including default-theme.css
import 'uast-viewer/dist/default-theme.css';
Render component with UAST JSON
<UASTViewer uast={uastJSON} />
Contributions are more than welcome, if you are interested please take a look to our Contributing Guidelines.
All activities under source{d} projects are governed by the source{d} code of conduct.
Apache License Version 2.0, see LICENSE