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

ld-swiper-tabs

v1.1.2

Published

taro小程序 swiper-tabs相结合的容器骨架

Readme

ld-swiper-tabs

适用于Taro小程序, swiper + scroll-view结合的容器骨架

因为目前这份文件只有一个组件,所以readme文档先这样书写,日后会再更新迭代

安装

npm install ld-swiper-tabs

引用

import LdSwiperTabs from 'ld-swiper-tabs' dd import '@~/taro-swiper-tabs/dist/style/index.scss' tip: @~ 当前项目的node_modules的路径

属性列表

属性 | 类型 | 默认值 | 必填 | 说明 ---- | --- | --- | --- | --- tabList | array | ['全部'] | 是 | tab栏内容 tabClass | object | { color: '#4A4A4A' } | 否 | tab栏样式 tabActiveClass | object | {} | 否 | 选中tab栏样式 scrollBarClass | object | { height: 10px; box-shadow: 0px 1px 4px 0px rgba(0, 156, 156, 0.5);border-radius: 5px;top: 35px;z-index: -1;transition: all 0.5s; } | 是 | 滑动条样式 showScrollBar | boolean | true | 否 | 滚动条显示 swiperClass | object | { background: 'green' } | 否 | swiper区域样式 scrollViewClass | object | {} | 否 | tab栏的滚动区域样式 swiperCircular | boolean | false | 否 | swiper是否自动播放 onTabClick | eventHandle | | 否 | tab点击事件 onSwiperChange | eventHandle | | 否 | swiper change事件

用法说明

swiper区域内容由外部传入,注意点是需要由swiperItem包裹,如以下形式

{ tabList.map((item, index) => {
    return (
        <SwiperItem key={index} style={'height: 200px;width: 100vw'}>
            <View >{item}</View>
        </SwiperItem>
    )
    }) }

tab栏的宽度是全屏的