qrcode-npm
QRCode Generator for JavaScript
Last updated 12 years ago .
MIT · Repository · Original npm · Tarball · package.json
$ npm install qrcode-npm 
SYNC missed versions from official npm registry.

qrcode-npm

This is an npm module for qrcode JavaScript library (http://www.d-project.com/qrcode)

Notice that I am not the author of the code, I am just simply creating an npm module out of the great library from Kazuhiko Arase Notice also that there is another module (node-qrcode, see: https://github.com/soldair/node-qrcode), which is more sophisticated and uses canvas object:

  • qrcode-npm uses img or table tags, which is more friendly to older browsers
  • if you know your target browser is canvas capable then I recommend using node-qrcode module

examples

var qrCode = require('qrcode')

var qr = qrCode.qrcode(4, 'M');
qr.addData(text);
qr.make();

qr.createImgTag(4);    // creates an <img> tag as text
qr.createTableTag(4);  // creates a <table> tag as text

install

npm install qrcode-npm

The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED

Current Tags

  • 0.0.3                                ...           latest (12 years ago)

3 Versions

  • 0.0.3                                ...           12 years ago
  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE