QR-Code-generator icon indicating copy to clipboard operation
QR-Code-generator copied to clipboard

Packaging for web

Open xamgore opened this issue 7 months ago • 2 comments

Hi! I absolutely love this piece of software, QR codes are both sound and minimal. ❤

Though, there are a few issues with packaging: there is no easy way to use the library in case of javascript.

At first, you need a package.json. There should be all the information required for publishing to npmjs.com.

It is pretty much a standard to have a link at https://cdnjs.com/, as somebody who'd like to play with the library will just insert a script on their webpage and try it like:

<script src="https://cdn.jsdelivr.net/npm/nayuki/dist/qr-code-generator.min.js"></script>

xamgore avatar Apr 28 '25 14:04 xamgore

Hello Igor, thanks for your suggestion. I'll take the feature request into consideration.

But this is not something I want to work on right now, nor verify any code contributions. I will have to postpone this indefinitely.

nayuki avatar Apr 29 '25 02:04 nayuki

Thanks for the explanation, fair enough. If you feel ready to accept any help, I'm here. ✋🏻

xamgore avatar Apr 29 '25 13:04 xamgore