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

okay-ui

v1.1.4

Published

ok-ui A Component Library for Vue3.0

Readme

教师空间 OKUI公共库

  • 暂时不适配vue 3.1.0以上版本
  • 此ui库为element-plus基础之上进行封装,适配element-plus功能
  • 封装后的功能参考下方说明

ok-button

  • 有primary,warning,2种颜色做了修改,正常高度36px,size="small"为32px,size="mini"为28px
  • 文字按钮颜色也有修改
<ok-button type="primary">按钮</ok-button>
<ok-button type="warning">按钮</ok-button>

ok-dialog

  • 有small,normal,big三种对应标准ui的三种格式,通过设置width设置width=“360“,width=“600“,width=“800“
<ok-dialog
    title="提示"
    width=“320“
    v-model="dialogVisible"
    :before-close="handleClose">

ok-input-limit

<ok-input-limit
    v-model="limitName1"
    type="textarea"
    :maxValue="5"(必须参数)
    :width="200"
    placeholder="test"
    @change="handleChange"
></ok-input-limit>

ok-pagination

  • 不加layout的时候是ok-ui标准功能,有新增功能可根据layout添加,参考element-ui文档
<ok-pagination
    background
    @size-change="handleSizeChange"
    @current-change="handleCurrentChange"
    :current-page="currentPage4"
    :page-sizes="[10, 20, 30, 400]"
    layout="total, sizes, prev, pager, next, jumper"
    :page-size="10"
    :total="400"
>
</ok-pagination>          

ok-alert

  • 有4种颜色做了修改,自动匹配即可
 <ok-alert
    title="成功提示的文案"
    type="success"
> </ok-alert>
<ok-alert
    title="消息提示的文案"
    type="info"
> </ok-alert>
<ok-alert
    title="警告提示的文案"
    type="warning"
> </ok-alert>
<ok-alert
    title="错误提示的文案"
    type="error"
> </ok-alert>

ok-popover

  • popper-class="ruleClass" 添加ruleClass弹出框ui为教师空间标准的黄色边框,浅黄背景
<ok-popover
    placement="top-start"
    title="标题"
    effect="dark"
    popper-class="ruleClass"
    :width="200"
    trigger="hover"
    content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
    <template #reference>
    <ok-button>hover 激活</ok-button>
    </template>
</ok-popover>

NPM化