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

axue

v0.4.65

Published

面向pc端、跨框架的浏览器原生组件库,开箱即用。支持在业务开发层自定义标签、图标、样式,开创loadtime范式先河。

Downloads

22

Readme

傲雪

面向pc端、跨框架的浏览器原生组件库,开箱即用、带各类弹框API。支持自定义标签、图标、样式,开创loadtime范式先河。

安装组件库

在已有项目中引入axue

npm i axue@latest

全量注册组件

带图片也不到200kb,无需单个组件导入

import "axue"

使用组件

像div一样使用组件。

<div>
    <p>一行代码+一个json配置,管理数据列表+增删改查</p>
    <axue-data-list-manager></axue-data-list-manager>
</div>

内置了基础弹框API

  • tip,会自动关闭的小提示
  • toast,人机交互对话框
  • property,右侧进出的属性栏
  • slot,跟随鼠标位置智能计算位置的插槽框
  • page,居中呈现的子页面
  • module,跟随鼠标位置智能计算、可拖拽的子模块,面向大型应用场景
import {showTip} from "axue";  //导入接口
showTip.send('Hello, axue!');       //不指定提示类型,左边默认显示logo图标
showTip.warning('Hello, axue!');       //指定info类型,左边默认显示warning图标

文档

暂只有中文文档 https://docwar.gitlab.io/axue/zh