Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 774 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 774 Bytes

Vizpack

Transform all HTML elements containing a graph description, from a HTML page, to SVG elements using Viz.js.

Installation

Install with npm:

$ npm install vizpack

Usage

Command-line interface:

NAME:
    vizpack

SYNOPSIS:
    vizpack [options...] prefix input output

DESCRIPTION:
    Transform all HTML elements containing a graph description and whose class
    name starts with prefix to SVG elements using Viz.js.

OPTIONS:
    -V, --version  output the version number
    -q, --quiet    render silently
    -h, --help     output usage information

EXAMPLES:
    $ vizpack --quiet "language-viz-" input.html output.html