This library is in beta, but being used by the Universal Data Tool. Contributions are appreciated!
Render SVGs on node and web. Uses node-pureimage and canvg.
Existing libraries often had problems with serverless platforms, inconsistency across machines, forced anti-aliasing or unnecessary complexity.
npm install svg-render
const render = require("svg-render")
render(svgText, { output: "pngbuffer" }).then((pngBuffer) => {
// fs.writeFile("./myImage.png", pngBuffer)
})
- [] Font Support