Skip to content
/ qr Public

Fully typed QRCode encoding implementation in JavaScript with no dependencies!

License

Notifications You must be signed in to change notification settings

akamfoad/qr

Repository files navigation

@akamfoad/qr

Fully typed QRCode encoding implementation in JavaScript with no dependencies!

import { qrcode as qr } from '@akamfoad/qr';

const qrcode = qr('foo bar baz');

const cells = qrcode.modules;

// cell[R] -> row
// if cell[R][C] is true, that cell is "on"

interactive example

type docs

https://akamfoad.github.io/qr/

credit

This library is repackaged work from the qrcode library here http://www.d-project.com/ which is also licensed under the MIT license.