# tiny-qr

> Wasm-powered QR code image generator

Latest version **0.1.0** (published 2019-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install tiny-qr
pnpm add tiny-qr
yarn add tiny-qr
bun add tiny-qr
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-07-24 |
| First published | 2019-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 126.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | terhix |

## Links

- npm: https://www.npmjs.com/package/tiny-qr
- npm.io page: https://npm.io/package/tiny-qr

## Recent versions

- 0.1.0 (latest) — 2019-07-24

## README

# Wasm-powered QR code image generator

This library exposes two functions, typed accordingly:

```ts
// 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](https://en.wikipedia.org/wiki/Data_URI_scheme) string, ready to be used as a source for any image.

---
_Source: https://npm.io/package/tiny-qr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
