Barcode Detection API Polyfill

一个用TypeScript编写的polyfill,通过调用ZXing或Dynamsoft Barcode Reader作为解码引擎,使主流浏览器都能支持Barcode Detection API。支持生成CJS、ESM和UMD格式的库。

Check out Barcode Detection API Polyfill on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

之前的周刊介绍了Barcode Detection API,但支持的浏览器有限,基本只有mac和安卓版Chrome支持。我专门用TypeScript写了一个polyfill,如果浏览器不支持这个API,就调用ZXing或者Dynamsoft Barcode Reader作为解码引擎,让主流浏览器都能使用这个API。打包器用的microbundle,可以生成CJS、ESM和UMD格式的库。项目地址:https://github.com/xulihang/barcode-detector-polyfillDemo:https://extraordinary-taiyaki-4769a5.netlify.app/

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur