npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

qt-scan-broadcast

v0.0.1

Published

qt-scan-broadcast extend for weex

Downloads

15

Readme

qt-scan-broadcast

qt-scan-broadcast是一个weex插件,可以通过weexpack快速集成,可以丰富weex功能 用来监听Seuic 扫码抢的广播事件

  • EVENT_ACTION
    com.android.server.scannerservice.seuic.scan
  • Weex接收信息
    var globalEvent = weex.requireModule('globalEvent');
    globalEvent.addEventListener("geolocation", function (e) {
      console.log("get geolocation:" + e.ScannerData);
    });

支持的WeexSDK版本: >= 0.16.0

功能

快速使用

  • 添加ios平台
    weex platform add ios
  • 添加android平台
    weex platform add android
  • 添加插件
    weex plugin add qt-scan-broadcast

已有工程集成

iOS集成插件QtScanBroadcast

  • 命令行集成
    weex plugin add qt-scan-broadcast
  • 手动集成 在podfile 中添加
    pod 'QtScanBroadcast'

安卓集成插件qtscanbroadcast

  • 命令行集成
    weexpack plugin add qt-scan-broadcast
  • 手动集成  在相应工程的build.gradle文件的dependencies中添加
    compile '${groupId}:qtscanbroadcast:{$version}'

 注意:您需要自行指定插件的groupId和version并将构建产物发布到相应的依赖管理仓库内去(例如maven), 您也可以对插件的name进行自定义,默认将使用插件工程的名称作为name

浏览器端集成 qt-scan-broadcast

  • 命令行集成
    npm install  qt-scan-broadcast
  • 手动集成  在相应工程的package.json文件的dependencies中添加
    qt-scan-broadcast:{$version}'