Skip to main content

CurateClick

github.com favicon

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

promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder
freqz.net favicon
Weekly Pick

Your Personal K-Style Vibe Photo Studio

Freqz
webleadr.com favicon
Weekly Pick

Find and contact web design leads and businesses without websites, like local dentists, effortlessly from any location in just a few clicks.

Webleadr

the art of having something to say

pretty-scale.com favicon
Weekly Pick

How Pretty Are You? Let AI Decide.

Pretty Scale
c2story.com favicon
Weekly Pick

Create Illustrated Stories with AI

C2story

Impromptu Speech Topics & Timer

Seedance 2.0: Multimodal AI video creator. Precisely direct characters and cameras to create production-ready, multi-shot cinematic stories in one click.