Narwhals Prolong Mischief
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

qr-channel

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

Keywords

none

install

npm i qr-channel

Downloadsweekly downloads

3

version

5.0.1

license

MIT

homepage

gitlab.com

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability