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

mescroll-vue2

v0.1.2

Published

基于mescroll.js封装的vue2组件

Readme

MeScrollVue2

更新日志

0.1.2

  • 增加 local 国际化配置
  • 增加 textInOffset、textOutOffset、textLoading、htmlLoading 配置
  • 修复原版 mescroll 在内容超出容器后下拉刷新不会触发自动加载整屏的问题

组件描述

组件参数只处理了部分, 其他参数后期更新.

组件首次加载钩子会触发@up事件

通用配置

locale

多语言配置, 支持 'zh' | 'ko'

当配置的语言不支持时, 默认: 'zh'

默认值: 'zh'

0.1.2 增加

@init

初始化事件

init(mescroll): void;

UP配置

htmlLoading

上拉加载文案, 默认值参考原版 0.1.2 增加

empty

0.1.1增加

空状态, 参考官方up.empty

toTop

0.1.1增加

回到顶部按钮, 参考官方up.toTop

noMoreSize

如果列表已无数据,可设置列表的总数量要大于5条才显示无更多数据;

类型: Number | String

默认值: 5

upOffset

列表滚动到距离底部小于50px,即可触发上拉加载的回调

类型: Number | String

默认值: 50

page

分页配置

类型: Object

默认值:

{
    page: 1,
    size: 20
}

upAuto

自动触发加载分页

类型: Boolean

默认值: true

@up

上拉加载回调事件

up(page, mescroll): void;

DOWN配置

disableDown

禁用下拉刷新配置, 默认false

textInOffset

下拉刷新文案, 默认值参考原版

textOutOffset

下拉刷新释放文案, 默认值参考原版

textLoading

下拉刷新加载文案, 默认值参考原版

@down

下拉刷新回调

down(mescroll): void;