CLI tool for converting Highcharts.JS charts to static images
Top 78.6% on SourcePulse
This project provides a Node.js-based server for converting Highcharts.JS charts into static image files (PNG, JPEG, SVG, PDF). It's designed for developers needing to automate chart generation for reports, caching, or embedding in documents, and offers flexibility as a CLI tool, HTTP server, or Node.js module.
How It Works
The server leverages Puppeteer to control a headless Chrome instance, rendering Highcharts charts from SVG or JSON input. It manages a pool of worker processes for efficient parallel processing of export requests, allowing for configurable worker counts and timeouts to optimize performance and resource utilization.
Quick Start & Requirements
npm install highcharts-export-server -g
Highlighted Details
Maintenance & Community
The project is maintained by Highcharts. Further community interaction details are not explicitly provided in the README.
Licensing & Compatibility
Limitations & Caveats
xlink:href
in SVG by default for security, requiring explicit configuration (OTHER_ALLOW_XLINK_HREF=true
) to allow it.SERVER_MAX_UPLOAD_SIZE
.2 weeks ago
1+ week