@sensio/op-sn-create-qrcode
TypeScript icon, indicating that this package has built-in type declarations

0.4.8-alpha.4 • Public • Published

@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

Install

# install latest version
yarn add @sensio/op-sn-create-qrcode

# or specific version
yarn add @sensio/op-sn-create-qrcode@0.1.0

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

7 as QRCode

Contributing

PRs accepted.

License

Longer version is in LICENSE file

Apache-2.0 © Sensio Group

Readme

Keywords

Package Sidebar

Install

npm i @sensio/op-sn-create-qrcode

Weekly Downloads

0

Version

0.4.8-alpha.4

License

Apache-2.0

Unpacked Size

30.4 kB

Total Files

27

Last publish

Collaborators

  • woss