Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seveves/qarrr

qr code generator library written in Typescript
https://github.com/seveves/qarrr

qr-code qrcode qrcode-generator typescript

Last synced: 2 months ago
JSON representation

qr code generator library written in Typescript

Awesome Lists containing this project

README

        

# qarrr
> black flags, white skulls and rattlin zones

[![Build Status](https://travis-ci.org/seveves/qarrr.svg?branch=master)](https://travis-ci.org/seveves/qarrr)
[![npm version](https://badge.fury.io/js/qarrr.svg)](https://badge.fury.io/js/qarrr)

Ahoy! 'tis a library wit' naught dependencies that generates nasty QR codes in yer browser as a Canvas element. Ay!

## Examples

### Basic Usage
```javascript
import { Qarrr } from 'qarrr';

var q = new QArrr();
var qrcd = q.create('QArrr!');
var canvas = q.toCanvas(qrcd);
document.body.appendChild(canvas);
```

### Frameworks
* [Angular 🛡️](https://stackblitz.com/edit/angular-qarrr?ctl=1&embed=1&file=app/app.component.html&view=preview)
* [Preact ⚛️](https://codepen.io/seveves/pen/gvGWPz?editors=0010)
* [React 🐐](https://stackblitz.com/edit/react-qarrr?file=index.js)

## Credits
* [Thonky QR Code Tutorial](https://www.thonky.com/qr-code-tutorial/introduction)
* [QRCoder C# Library](https://github.com/codebude/QRCoder)