Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/seveves/qarrr
- Owner: seveves
- License: mit
- Created: 2018-01-30T18:30:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T19:18:19.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T06:43:46.237Z (3 months ago)
- Topics: qr-code, qrcode, qrcode-generator, typescript
- Language: TypeScript
- Homepage: https://codepen.io/seveves/pen/NyNXxv
- Size: 99.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)