Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

qr-element

0.0.0 • Public • Published

qr-element

qrcode dom element

var qr = require('qr-element');
 
// default canvas rendering
var qrcode = qr('foo', {
    width: 128,
    height: 128
});
 
qrcode // =>

interactive readme
interactive example

options

width

Width in pixels of the element

height

Height in pixels of the element

background

default #fff

Background color hex

foreground

default #000

Foreground color hex

typeNumber

correctLevel

install

npm install qr-element

Use with browserify

Keywords

Install

npm i qr-element

DownloadsWeekly Downloads

4

Version

0.0.0

License

MIT

Last publish

Collaborators

  • avatar