@sensio/op-sn-create-qrcode
v0.4.8-alpha.4
Published
Blockchain Version **bafy2bzacecnosczzvuuibkajhvporgd4e5rrye4wcorvm7zmloinm6ofngdeq**
Downloads
3
Readme
@sensio/op-sn-create-qrcode
Blockchain Version bafy2bzacecnosczzvuuibkajhvporgd4e5rrye4wcorvm7zmloinm6ofngdeq
Description
Create QR Code
For more info on the QrCodes check the QrCode npm package
Links and Repo
- npm: https://www.npmjs.com/package/@sensio/op-sn-create-qrcode
- repo: repo folder
- support: Discord server #public-support channel
Install
# install latest version
yarn add @sensio/op-sn-create-qrcode
# or specific version
yarn add @sensio/[email protected]
Usage
import snCreateQrcode from '@sensio/op-sn-create-qrcode'
const dataAsUintArray = new U8intArray(7)
const dataAsBuffer = '7'
const myQrCode = await snCreateQrcode([
{ data: dataAsUintArray, decode: () => dataAsBuffer }
])
This above will create following QRCode
Contributing
PRs accepted.
License
Longer version is in LICENSE file
Apache-2.0 © Sensio Group