5.0.1 • Published 8 years ago
qr-channel v5.0.1
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 whoamiornpm loginif needed npm publish