question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Which package to use for production?

See original GitHub issue

Hi Guys,

This is the best scanner in JavaScript i have come across after a long search. I do have one question, i was using @zxing-js/library the CDN and switched to the npm package. However i get the message: Deprecated symbol used, consult docs for better alternative.

I presume that i should use the @zxing-js/browser, but because there are no docs yet and it’s new i thought that this is more stable.

What do you advise? I am using the BrowserQRCodeReader and the BrowserBarcodeReader from the library. Will the support stay in the library?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
memic84commented, Sep 12, 2018

I think it’s because of the @deprecated in BrowserCodeReader etc…

/**
 * @deprecated Moving to @zxing/browser
 *
 * QR Code reader to use from browser.
 */

So it’s logical that webstorm is giving the following messages.

image

image

My question has been answered, thanks. This can be closed for now.

0reactions
odahcamcommented, Oct 21, 2020

Just for anyone wondering which package to use in 2020, I think you can give the browser one a shot: https://github.com/zxing-js/browser/releases/tag/v0.0.1-preview.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Are the Most Common Types of Packaging Materials?
The most common types of packaging materials used commercially include plastic, glass, steel, aluminum, paper, paperboard, and wood.
Read more >
Custom Package Manufacturing | Maco PKG
Need a packaging manufacturer? Choose Maco! We have a large variety of package manufacturing equipment and Form Fill Seal (FFS) packing installations.
Read more >
What Area of the Supply Chain Does Packaging Assembly or ...
A business that orders raw materials, manufactures, packages and sells the products from one location can achieve the most efficient supply chain organization....
Read more >
Packaging Costs: Large VS Small Productions
When it comes to the cost associated with your packaging line, many dynamics hinge upon the size of your production.
Read more >
What? Why? How? All About Full Package Production
Full Package Production is one of the most popular manufacturing methods that designers choose. Find out more about it here, as well as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found