Skip to content

withaspoon/tiny-qrcode-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-qrcode-png

Who is it for?

Anybody who wants to generate a QR code either server side or client side without too much bloat. The library comes in at around 7kb uncompressed. It is based off https://www.nayuki.io/page/qr-code-generator-library, and comes bundled with a minified version of that library. It generates a monochrome 1-bit PNG.

Installing

# Pick your poison...
npm i tiny-qrcode-png
yarn add tiny-qrcode-png

Usage

The following would produce the QR-code below:

import makePng from "tiny-qrcode-png";

const png = makePng("Hello, World");

Example PNG

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published