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

@jiangqiming/m-ui

v1.0.1

Published

一个基于 Vue3 的组件库

Readme

M-UI

一个基于 Vue3 的组件库,类似 Element UI。

特性

  • 🎨 丰富的组件
  • 📦 按需引入
  • 🔷 TypeScript 支持
  • 🎯 Vue3 Composition API
  • 📱 响应式设计
  • 🚀 基于 Vite 构建

安装

npm install @jiangqiming/m-ui

快速开始

📖 使用文档

完整引入

import { createApp } from 'vue'
import MUI from '@jiangqiming/m-ui'
import '@jiangqiming/m-ui/style.css'

const app = createApp(App)
app.use(MUI)
app.mount('#app')

按需引入

import { MButton, MInput, MChartBar } from '@jiangqiming/m-ui'
import '@jiangqiming/m-ui/style.css'

依赖安装

组件库依赖以下包,使用前请确保已安装:

# Vue 3(必需)
npm install vue@^3.0.0

# ECharts(ChartBar 组件需要)
npm install echarts@^5.0.0

使用示例

Button 按钮

<template>
  <MButton type="primary" @click="handleClick">主要按钮</MButton>
</template>

<script setup>
import { MButton } from '@jiangqiming/m-ui'

const handleClick = () => {
  console.log('按钮被点击')
}
</script>

Input 输入框

<template>
  <MInput v-model="value" placeholder="请输入内容" />
</template>

<script setup>
import { ref } from 'vue'
import { MInput } from '@jiangqiming/m-ui'

const value = ref('')
</script>

ChartBar 柱状图

<template>
  <MChartBar
    :series="[
      { name: '系列1', data: [100, 200, 300, 400, 500] }
    ]"
    :categories="['类别1', '类别2', '类别3', '类别4', '类别5']"
  />
</template>

<script setup>
import { MChartBar } from '@jiangqiming/m-ui'
</script>

注意:使用 ChartBar 组件前,请确保已安装 echarts

npm install echarts@^5.0.0

开发

# 安装依赖
npm install

# 启动开发服务器(查看组件演示)
npm run dev

# 构建组件库
npm run build

# 启动文档开发服务器
npm run dev:docs

# 构建文档
npm run build:docs

组件

  • Button 按钮
  • Input 输入框
  • ChartBar 柱状图

更多组件正在开发中...

浏览器支持

现代浏览器和 IE11+(需要 polyfills)

技术栈

  • Vue 3
  • TypeScript
  • Vite
  • Tailwind CSS
  • SCSS
  • VitePress(文档)

License

MIT