alexeyten / qr-image

Yet another QR code generator
MIT License
1.05k stars 168 forks source link

provide an svg-only build #38

Open StephanHoyer opened 7 years ago

StephanHoyer commented 7 years ago

We use your lib with browserify. Works great so far.

Would be even better if there would be a svg-only build to minimize filesize.

qr = require('qr-image/svg')

I think this would be easily possible just by shifting some code around. I this would be of interest I would create a PR for this.

alexeyten commented 7 years ago

That should be simple splitting of vector.js

A PR would be nice

FlorianWendelborn commented 7 years ago

Has anyone made any progress on this? I'm interested in this option too. It'd most likely be extremely tiny.

moncasi commented 6 years ago

+1 That would be great !

moncasi commented 6 years ago

Do we need anything else than the svgObject method on the client side ?