zxing

WebJar for zxing

License

License

Categories

Categories

ZXing Data Data Formats Image Processing
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

zxing
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

zxing
WebJar for zxing
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jesstelford/jsqrcode

Download zxing

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/zxing/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>zxing</artifactId>
    <version>0.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/zxing/
implementation 'org.webjars.npm:zxing:0.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/zxing/
implementation ("org.webjars.npm:zxing:0.1.2")
'org.webjars.npm:zxing:jar:0.1.2'
<dependency org="org.webjars.npm" name="zxing" rev="0.1.2">
  <artifact name="zxing" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='zxing', version='0.1.2')
)
libraryDependencies += "org.webjars.npm" % "zxing" % "0.1.2"
[org.webjars.npm/zxing "0.1.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Deprecated

The zxing package is no longer maintained.

Please use the much more up to date qrcode-reader package.

JavaScript QRCode reader for HTML5 enabled browser

2011 Lazar Laszlo http://lazarsoft.info 2014 Jess Telford http://jes.st

Try it online: http://webqr.com

This is a port to npm of Lazar Laszlo's port of ZXing qrcode scanner, http://code.google.com/p/zxing.

Usage

qrcode = require('zxing');
qrcode.decode([uri, ]function(err, result) {
  if (err != null) {
    console.log(err); // Will output any errors found
    return;
  }
  console.log(result); // Will output the decoded information
});

If uri is not passed, will instead extract image data from a canvas element with id="qr-canvas"

[new from 2014.01.09] For webcam qrcode decoding (included in the test.html) you will need a browser with getUserMedia (WebRTC) capability.

Versions

Version
0.1.2
0.1.0