Answer the question
In order to leave comments, you need to log in
How to convert html string to svg and send resulting svg to client in node.js?
const express = require("express");
const app = express();
app.use(express.json());
app.post("/svg", (req, res) => {
const { html } = req.body;
// нужно срендерить в svg и отдать клиенту.
});
app.listen(3000);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question