tiny-qr
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Wasm-powered QR code image generator

This library exposes two functions, typed accordingly:

// Encode binary data as PNG QR code
export function binary(data: Uint8Array): string | undefined;
 
// Encode string as PNG QR code
export function string(data: string): string | undefined;

The return value in both cases is a data URI string, ready to be used as a source for any image.

/tiny-qr/

    Package Sidebar

    Install

    npm i tiny-qr

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    129 kB

    Total Files

    5

    Last publish

    Collaborators

    • terhix