README
treeChalk
This uses chalk to makes beautiful diagrams from syntactic trees provided by Google's analyzeSyntax API:
Installation
> npm i
Usage
From the command line:
> treeChalk file.txt
where file.txt is a JSON object from the Google API.
beautiful trees from Google syntax data
<script type="module">
import treechalk from 'https://cdn.skypack.dev/treechalk';
</script>
This uses chalk to makes beautiful diagrams from syntactic trees provided by Google's analyzeSyntax API:
> npm i
From the command line:
> treeChalk file.txt
where file.txt is a JSON object from the Google API.