MCPcopy Index your code
hub / github.com/jeromeetienne/jquery-qrcode

github.com/jeromeetienne/jquery-qrcode @v1.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.0 ↗
12 symbols 14 edges 3 files 0 documented · 0%
README

jquery.qrcode.js

jquery.qrcode.js is jquery plugin for a pure browser qrcode generation. It allow you to easily add qrcode to your webpages. It is standalone, less than 4k after minify+gzip, no image download. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jquery.qrcode.js wraps it to make it easy to include in your own code.

Show, dont tell, here is a example

How to Use It

Let me walk you thru it. First include it in your webpage with the usual script tag

<script type="text/javascript" src="https://github.com/jeromeetienne/jquery-qrcode/raw/v1.0/jquery.qrcode.min.js"></script>

Then create a DOM element which gonna contains the generated qrcode image. Lets say a div

Then you add the qrcode in this container by

jquery('#qrcode').qrcode("this plugin is great");

This is it. see it live.

You can set the height and width of the generated qrcode:

jquery('#qrcode').qrcode({width: 64,height: 64,text: "size doesn't matter"});

Conclusion

jquery.qrcode.js is available on github here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :)

Core symbols most depended-on inside this repo

createCanvas
called by 1
src/jquery.qrcode.js
createTable
called by 1
src/jquery.qrcode.js
QR8bitByte
called by 0
src/qrcode.js
QRCode
called by 0
src/qrcode.js
QRPolynomial
called by 0
src/qrcode.js
QRRSBlock
called by 0
src/qrcode.js
QRBitBuffer
called by 0
src/qrcode.js

Shape

Function 12

Languages

TypeScript100%

Modules by API surface

src/qrcode.js5 symbols
jquery.qrcode.min.js5 symbols
src/jquery.qrcode.js2 symbols

For agents

$ claude mcp add jquery-qrcode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact