UNPKG

312 BJavaScriptView Raw
1#!/usr/bin/env node
2
3const wrap = require("../src/cli/tools/wrap-stream-in-html");
4/*
5 * Wrap some html & css around the stuff passed in stdin, so it becomes a bit more
6 * interactive to use. Tailored to svg's generated by graphviz dot.
7 */
8
9wrap(process.stdin).then((pOutput) => process.stdout.write(pOutput));