@akamfoad/qr
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

@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.

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i @akamfoad/qr

    Weekly Downloads

    508

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    93 kB

    Total Files

    18

    Last publish

    Collaborators

    • akamfoad