qrcode-js-merlin

Generate qr code for string data


Keywords
qrcode
Install
npm install qrcode-js-merlin@0.0.1

Documentation

qrcode-js

This is a node.js wrapper for the qrcode JavaScript library (http://www.d-project.com/qrcode)

Install

npm install qrcode-js

Example

var qrcode=require('qrcode-js');
var url = 'http://www.sunzhongkui.me';
var base64 = qrcode.toDataURL(url, 4);

Improve & Bug Fix

修复 url 过长导致生成二维码出错的BUG

reference