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

@xuanmo/dl-icons

v0.0.10

Published

<p align="center"> <img src="https://upyun.xuanmo.xin/logo/dl-ui.svg" width="50px" /> </p>

Downloads

64

Readme

全量功能安装

  • validator 非必须包,如果不需要表单校验可不用安装
  • dl-icons 非必须包,如果需要扩展图标,可自行安装
# npm 安装
$ npm i @xuanmo/{dl-ui,dl-common,dl-icons}

# yarn 安装
$ yarn add @xuanmo/{dl-ui,dl-common,dl-icons}

# pnpm 安装
$ pnpm add @xuanmo/{dl-ui,dl-common,dl-icons}

引入组件

import { createApp } from 'vue'

// 1. 引入组件
import DLUI from '@xuanmo/dl-ui'

// 3. 引入组件样式
import '@xuanmo/dl-ui/dist/index.css'

const app = createApp()

// 3. 注册组件
app.use(DLUI)

亮点

  • 🚀 表单作为容器、也作为低代码运行时解析器,可以容纳任意组件,通过 JSON 格式配置即可完成表单搭建,具体细节见表单篇
  • 💪 内置常用表单组件,支持扩展组件
  • 💪 繁琐的表单校验通过规则配置即可,校验与表单业务可完美剥离
  • 💪 可扩展的图标库
  • ✍️ 使用 TypeScript 开发,提供完整的类型定义
  • 🛠 更多功能开发中,欢迎共建...

组件开发初衷

  • 自己比较懒,不太喜欢做重复的事情,能用轮子解决的事情,尽量不搞第二次,由之前 Vue 2 版的配置表单开始(封装自 Vant),自己对这种通过 JSON 配置就能完成一个表单的渲染,深受喜爱,因为工作的缘故,目前主要做低代码平台产品(表单生态),也是一个比较感兴趣的方向;
  • 做开源也是为了能够认识更多朋友,从中学习一些工作中可能遇见不到的场景,欢迎一起讨论交流。

链接

特别鸣谢

License

  • 本项目基于 MIT 协议,欢迎有兴趣的朋友一起交流
  • Copyright © 2022-PRESENT D-xuanmo

动态

Alt