jquery.qrcode
    Overview
    Documentation
    Insights
    Code
    Contributors
    Dependencies
    Alternatives

jquery.qrcode

http://jeromeetienne.github.com/jquery-qrcode

1.0.3  •  Updated 2 years ago  •  by http://jeromeetienne.github.com/jquery-qrcode  •  ISC License

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, don’t 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="jquery.qrcode.min.js"></script>

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

<div id="qrcode"></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 😃

Popularity

Weekly Downloads
1.8K

Maintenance

Development

Last ver 4 years ago
Created 4 years ago
Last commit 1 second ago
1 second between commits

Technology

Node version: 4.4.1
0 unpacked

Compliance

ISC License
OSI Approved
0 vulnerabilities

Contributors

0 contributors

Dependencies

Tags

jquery
qrcode
Ready for the next level?
Join Openbase's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookLinkedIn
© 2020 Devstore, Inc.