Skip to content

Static HTML | XML | SVG renderer using JSX, suitable for report output.

License

Notifications You must be signed in to change notification settings

shellyln/red-agate

Repository files navigation

RedAgate

Static HTML | XML | SVG renderer using JSX, suitable for report output.

RedAgate is static HTML | XML | SVG renderer.
You can start easily because we are using JSX and semantics similar to React.

npm GitHub release .github/workflows/test.yml GitHub forks GitHub stars

Advantages:

  • Easily to bundle resources (images, stylesheets, fonts, scripts, ...) .
    RedAgate.renderAsHtml() API and component lifecycle defer() method return promise objects.
    You can use standard Tag-Libs (e.g. Image, Style, Font, SingleFont, Script, Asset) to bundle them.

  • Many standard Tag-Libs (e.g. If, Repeat, ForEach, Template, Html5, Svg, SVG shapes, Barcodes (QR Code, Code39, Code128, EAN/UPC, ITF, NW7/Codabar, postal barcode) and complex objects) are bundled.

  • Html5 Canvas API is available in the sub tree of the Svg component.

  • Running on both server side (Node.js) and modern browsers (Chrome, Firefox, Safari, Edge).

RedAgate

Get Started

See main package's README and Live Demo.

Packages

package description
red-agate RedAgate's main package.
Static HTML/XML/SVG renderer using JSX, suitable for report output.
red-agate-util Utilities library.
red-agate-svg-canvas HTML5 canvas compatible SVG Canvas library.
red-agate-math Math (Finite field, Error correction (RS,BCH,CRC)) library.
red-agate-barcode 1d/2d barcodes tag library.
red-agate-react-host React component host tag library.

License

ISC
Copyright (c) 2017, Shellyl_N and Authors.