@akamfoad/qr
Version:
Fully typed QRCode encoding implementation in JavaScript with no dependencies!
25 lines (14 loc) • 536 B
Markdown
Fully typed **QRCode encoding** implementation in JavaScript with no dependencies!
```js
import { qrcode as qr } from '@akamfoad/qr';
const qrcode = qr('foo bar baz');
const cells = qrcode.modules;
// cell[R] -> row
// if cell[R][C] is true, that cell is "on"
```
[](https://js-2xc6qu.stackblitz.io/)
<https://akamfoad.github.io/qr/>
This library is repackaged work from the qrcode library here <http://www.d-project.com/> which is also licensed under the MIT license.