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

yz-ks-tool

v0.1.1

Published

易知互联网的快手tools

Downloads

3

Readme

组件引入方式:

import serviceDiglog from "yz-utils/service-diglog/service-diglog.vue";
......
components: {
  "service-diglog": serviceDiglog
}

组件列表

| 组件名称 | 组件简述 | | :--------------------------------------------- | :----------------- | | pay-dialog | H5 收银台 | | service-dialog | 客服弹框 | | yz-report | 历史订单列表 | | index-tips | 首页顶部滚动提示 | | lunar-picker | 带农历的时间选择器 | | protocol-dialog | 易知用户协议弹框 | | complain | 投诉按钮组件 |

pay-dialog

用于H5页面选择支付方式

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :--------- | :------- | :------------------------ | :--------------------------------------- | | visible | 是 | Boolean | 控制弹框的显示,通过.sync双向绑定 | | title | 否 | String | 弹窗的标题 | | showCount | 否 | Boolean (true) | 是否显示倒计时(挽回页弹框一般不显示) | | success | - | event(type) | 点击按钮回调事件,type : 1 微信 2 支付宝 |

service-dialog

用于H5页面选择支付方式

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :---------- | :------- | :------------------------------------- | :---------------------------------------------------- | | visible | 是 | Boolean | 控制弹框的显示,通过.sync双向绑定 | | baseUrl | 是 | String | request 的服务域名,例:https://dev.ya73r.cn | | requestUrl | 否 | String /V1/Common/getCustomerService | 接口地址 | | bgImage | 否 | String | 背景图片 ,相对地址用require | | orderSearch | 否 | String | 订单查询页面的地址,小程序使用uni.navigateTo完成功能 |

yz-report

历史订单列表,在项目中建立空路由页面后引入使用

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :--------- | :------- | :----------------------------------- | :------------------------------------------- | | theme | 是 | String | 主题颜色 | | baseUrl | 是 | String | request 的服务地址,例:https://dev.ya73r.cn | | requestUrl | 否 | String /V1/Common/getUserOrderList | 接口地址 |

lunar-picker

时间选择 picker

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :--------- | :------- | :------------------------ | :------------------- | | visible | 是 | Boolean | 控制 picker 显示隐藏 | | value | 是 | String | 初始年 | | theme | 否 | String | 主题色 | | change | - | Event | 确认事件 |

protocol-dialog

易知协议的弹框

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :----------- | :------- | :------------------------ | :------------------- | | visible | 是 | Boolean | 控制 picker 显示隐藏 | | set-protocol | - | Event | 确认关闭事件 |

yz-morehot-list

更多热门应用

| 参数|事件 | 是否必填 | 类型 (默认值 | 事件参数) | 参数描述 | | :----------- | :------- | :------------------------ | :------------------- | | baseUrl | 是 | String | 主域名 | | theme | 否 | String | 按钮颜色 |