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

datepicker_horse

v1.0.1

Published

日历插件

Readme

构建日历插件 instructions :DatePicker
date : 2015-04-17 update: 2018-11-01 author : 张文书

参数介绍:
    id :触发元素id,必须是input(非空)
    mindate:最小可选择日期(可空)
    maxdate:最大可选择日期(可空)
    dpPadding:日历控件padding值
    dpWidth:日历控件宽度
    dpHeight:日历控件body部分高度(可空)
    dpTop:top值,必须将isRelativePosition设置成false
    dpLeft:left值,必须将isRelativePosition设置成false
    dpBorder:border值
    dpBoxShadow:box-shadow值
    isRelativePosition:是否相对 触发元素位置 弹出(可空)
    onPick:日期选择回调函数(可空),
    selectedDate:被选中日期
    selectedDateRange:范围选择控件
    isShowDPFoot:是否显示日历foot
    isDateRangeShowOneMonth:当元素是daterange时,设置是否只显示一个月的数据
    lang:语言  "cn":中文(默认), "en":英语 , "jp":日语 ,"kr":韩语, "hk":繁体中文——香港
输出:
    js加载完成后,可以直接使用new myDatePicker({...});

测试: npm run dev 打包: npm run build