qr-channel
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

QR Channel

import Channel from 'qr-channel'
 
const qrChannel = new Channel(
  document.querySelector('#codeCanvas'),
  document.querySelector('#viewfinderVideo'),
  document.querySelector('#snapshotCanvas'),
  0,
  'H',
  'Byte'
);
 
qrChannel.display('Message');
 
void async function monitor() {
  for await (const message of qrChannel.scan()) {
    console.log(message);
  }
}

Installing

yarn add qr-channel

Building

webpack-cli

Publishing

  • Bump version in package.json
  • Document changes in CHANGELOG.md
  • Update contents of README.md
  • Verify npm whoami or npm login if needed
  • npm publish

Contributing

/qr-channel/

    Package Sidebar

    Install

    npm i qr-channel

    Weekly Downloads

    0

    Version

    5.0.1

    License

    MIT

    Unpacked Size

    715 kB

    Total Files

    6

    Last publish

    Collaborators

    • tomashubelbauer