This is very interesting and something that I can really apply at work?
Does anyone knows how this compares to Gerber-to-svg? https://github.com/mcous/gerber-to-svg
Does anyone knows how this compares to Gerber-to-svg? https://github.com/mcous/gerber-to-svg
Macrofab does this for their web tool, from their Github I guess they merge gerber-to-svg with this SVG Stacker:
We use gerber-to-svg (it is the best we've ever worked with) server-side, but we use svg-stacker to generate images for the cases where we need them (thumbnails, printouts, etc.)
On the front-end, we use html5 canvas rather than a pre-stacked SVG.