redot-stringify
Compiler for unified. Stringifies an DOTAST syntax tree to graphviz. Used in the redot processor.
Installation
npm install redot-stringify
Usage
var unified = require("unified");
var createStream = require("unified-stream");
var parse = require("redot-parse");
var stringify = require("redot-stringify");
var processor = unified()
.use(parse)
.use(stringify);
process.stdin.pipe(createStream(processor)).pipe(process.stdout);