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

jquery-vali

v1.4.0

Published

中文API地址:http://1029131145.github.io/vali/

Downloads

13

Readme

#vali.js 中文API地址:http://1029131145.github.io/vali/

#使用方法

<!-- 非常简单 -->
<form class="form">
    <input type="text" email="t" vali>
</form>
<script type="text/javascript">
    $(".form").vali();
</script>

v1.4

更新内容
手机号 dl 空属性控制台报错修复
邮箱不完整验证修复

新增vali对象,有以下方法
setPrompt
form
ele
promptHide


v1.3

更新内容
1.输入框成功失败样式 class
2.不显示任何框

以下是新加的8种验证
3.手机号 黑名单
4.HTTP协议的网址格式
5.数字 多少之间
6.最小
7.最大
8.长度 多少之间
9.时间
10.时间and日期

11.提示框自定义


v1.2

更新内容
1.修复了一个Bug,这个Bug导致提示框宽度不跟输入框一样,主要原因是padding and border
2.优化了提示框top属性不准确小Bug,可以通过 disparityH 修改误差


v1.1

更新内容
1.验证银行卡,现在必须得是真实的银行卡才能通过验证
2.验证身份证,现在必须得是真实的身份证才能通过验证
3.日期验证 1.0版本必须是 1996-5-21,现在1996/5/21 也可以通过验证
4.货币验证,小数位设置可以用过元素属性进行设置

<!-- dp is 位数 -->
<input type="text" number="y" dp="3" vali>

v1.0

提供快速验证表单的很强大的控件。由于是初版,问题还有很多,希望大家能多多协助。