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

quickapp-deeplink

v2.3.1

Published

基于快应用 deeplink,从 Web 页面拉起指定「快应用」.

Downloads

9

Readme

目标与哲学

快应用是基于手机硬件平台的新型应用形态,具备传统APP完整的应用体验,无需安装、即点即用;覆盖 10 亿设备,与操作系统深度集成;您可以基于它,快速创建体验良好的应用服务。快应用天生提供 deeplink 功能,支持从 H5 拉起。此仓库基于 Web Component,封装了一个组件,支持您快速集成进 Web 网站,从而拉起指定的快应用、乃至指定页面以及参数

先决条件

您拥有自己可控的 web 网站即可。

在线示例

温馨提示:您需要使用支持快应用手机访问,如 vivo、OPPO、小米、华为、魅族等。

如何使用

安装

您需要在 head 标签内,注入一段 JavaScript 脚本(4kb);

<script async src="https://cdn.jsdelivr.net/npm/quickapp-deeplink@latest/dist/quickapp-deeplink-min.js"></script>

运用

在 body 标签内,添加 quickapp-deeplink 组件标签,您可以自行定义参数;

<quickapp-deeplink 
  brand="Vivo|Weixin|Mobile"
  text="快应用中打开"
  deeplink="https://hapjs.org/app/graceful.sentences.com/pages/AryaJarvis">
</quickapp-deeplink>

参数

| 字段 | 说明 | 默认值 | | --- | --- | --- | | text | 按钮文本 | '快应用中打开' | | color | 文本颜色 | '#ffffff' | | bgcolor | 按钮背景颜色 | '#20a0ff' | | deeplink | 指定快应用 | 'https://hapjs.org/app/graceful.sentences.com' |

寻求合作

如果您有 H5 或其他私域流量,想依此获得更多「睡后收入」,诚邀合作,具体方式与价格可以谈;如果您对此感兴趣,欢迎添加微信(如下图),互动交流,共同致富。

需要补充说明的是,合作可以给您带来的好处🈶:

  • 并不影响您 H5 页面本身的正常访问;
  • 为您带来丰厚的「睡后收入」;

License

MIT

Copyright (c) 2021-present, nicejade.