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 🙏

© 2026 – Pkg Stats / Ryan Hefner

educiot-wx

v0.0.1

Published

educiot-wx

Downloads

1

Readme

育联网移动端通用组件(需配合vant一起使用)

使用方法

局部调用

import { a } from 'educiot-wx'

components: { a:a }

全局调用

import educiotWx from 'educiot-wx'

Vue.use(educiotWx)

topHead(顶部navbar)

参数

| 参数 | 类型 | 说明 | 必传 | 默认值 | | -------- | ------- | -------------------------------------- | ---- | ------ | | title | String | 标题,可支持html | 否 | 空 | | hasleft | Boolean | 是否有左边图标 | 否 | true | | hasRight | Boolean | 是否有右边图标 | 否 | false | | isClear | Boolean | 左边图标自定义事件,默认事件返回上一页 | 否 | false | | isicon | Boolean | 右边是否使用字体图标 | 否 | true | | icons | String | 字体图标的样式名 | 否 | 空 | | url | String | 右边自定义图标的链接 | 否 | 空 | | icolor | String | 图标颜色 | 否 | #333 | | bgc | String | 整条navbar的背景色 | 否 | #fff | | tcolor | String | title颜色 | 否 | #333 | | hasbor | Boolean | 是否显示底边框 | 否 | false | | tsize | String | title字体大小 | 否 | 16px |

事件

| 事件 | 说明 | 返回值 | | ---------- | ------------------------------------- | ------ | | clearCache | isClear为true时需要给返回键自定义事件 | true | | clickRight | 右边图标的点击事件 | true |

注:鉴于ios部分机型存在刘海,所以navbar头部需要空出一个刘海高,刘海高度由app端传递过来,定义为bang,bang值储存在本地缓存saveData中,该组件的流海高度取于saveData中的bang值

userHead(用户头像)

参数

| 参数 | 类型 | 说明 | 必传 | 默认值 | | ----- | ------- | ------------ | ---- | ------ | | src | String | 头像链接 | 是 | - | | size | String | 头像尺寸 | 否 | 100 | | round | Boolean | 是否圆形头像 | 否 | true |