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

firefly-ui

v1.0.0

Published

A Component Library for Vue3.js.

Readme

firefly-ui

table组件

params

名称 | 说明 | 类型 | 备注 :---: | :---: | :---: | :---: dataSource | 表格数据数组 | any[] | 无 columns | 表格列的配置描述 | array | 无 scroll | 设置横向或纵向滚动,也可用于指定滚动区域的宽和高 | { x:number, y:number } | 无 rowKey | 表格行 key 的取值 | string | 默认'id' rowSelection | 列表项是否可选择,配置项 | object|null | 无 customRow | 设置行属性 | Function(record, index) | 无 loadMore | 是否开启滚动加载 | boolean | 默认false @sortChange | 排序处理函数 | Function(columnsItem) | 返回columns数据 @onLoadMore | 滚动加载处理函数 | Function() | 无

columns

名称 | 说明 | 类型 | 备注 :---: | :---: | :---: | :---: title | 列头显示文字 | string|slot | 无 key | Vue 需要的 key | string | 无 dataIndex | Vue 需要的 key | string | 无 sorter | 是否排序 | boolean | 无 slots | 使用 columns 时,可以通过该属性配置支持 slot 的属性,现支持{title?: string, customRender?: string;} | object | 无 fixed | 列是否固定 | "left" | "right" | 无

rowSelection

名称 | 说明 | 类型 | 备注 :---: | :---: | :---: | :---: fixed | 把选择框列固定在左边 | boolean | 无 selectedRowKeys | 指定选中项的 key 数组,需要和 onChange 进行配合 | string[] | 无 onChange | 选中项发生变化时的回调 | Function(selectedRowKeys, selectedRows) | 无