Hi,
I just tried to isolate the vector.js file to make it usable on the client side and minimize the code weight.
To use it one the client side :
var qrVector = require('qr-image/lib/vector');
var qrObject = qrVector.svg_object('text');
Well, I got 38.2ko of minified code, but is it possible to get a lighter client library ?
What do we really need and what is useless to generate a svg object ?
Thanks
Hi, I just tried to isolate the vector.js file to make it usable on the client side and minimize the code weight. To use it one the client side : var qrVector = require('qr-image/lib/vector'); var qrObject = qrVector.svg_object('text');
What do you think ?