New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qrstream

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qrstream

A javascript library for transfer data using QR Code streaming

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

QRStream

Build Status Coverage Status

This is a Work In Progress!!! ⚠

A javascript library for transfer data using QR Code streaming

Installation

npm install qrstream

Usage

Use as npm package

  var qrstream = require('qrstream');
  var qr = qrstream(500, 640);
  qr.load("TEXT", "Hello world");
  var {meta, images} = qr.encode();

Use in browser

1 create a app.js file using qrstream

  "use strict;"
  var qrstream = require('qrstream');
  var qr = qrstream(500, 640);
  qr.load("TEXT", "this is for the example");

  let {meta, images} = qr.encode();
  document.getElementById("metaImage").src = meta;

2 bundle the js

  browserify app.js -o you.bundle.js

3 include it in your html file

  <script type="text/javascript" src="assets/js/qrstream.bundle.js"> </script>

Tests

npm test

Contributing

Keywords

QR

FAQs

Package last updated on 19 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts