redot-parse

Graphviz dot parser for redot

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
redot-parse
6970.5.06 years ago6 years agoMinified + gzip package size for redot-parse in KB

Readme

redot-parse
NPM Version Build Status Chat
Parser for unified. Parses graphviz to an dotast syntax tree. Used in the redot processor.

Installation

npm
npm install redot-parse

Usage

var unified = require("unified");
var createStream = require("unified-stream");
var graphviz = require("redot-parse");
var stringify = require("redot-stringify");

var processor = unified()
  .use(graphviz)
  .use(stringify);

process.stdin.pipe(createStream(processor)).pipe(process.stdout);