Home > Software design >  How to use this in backend (Node Js)
How to use this in backend (Node Js)

Time:04-10

I am using qrstyling package from https://www.npmjs.com/package/qr-code-styling-node but when I read their usage I just see frontend where a person has to use their cdn. Is there a way of using it in backend (NodeJs)?

CodePudding user response:

There is a section about how to use it in Node js. It says:

You can use this on a node server by passing through the node-canvas or jsdom object depending if your creating a non-svg or svg respectively. You must pass both if using imageOptions.saveAsBlob.

Please look for the 'Node Support' section

  • Related