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

sy-base-ui

v1.0.30

Published

shengye Capital base ui component library

Readme

sy-base-ui

基于 element-ui 二次封装的组件 使用时请保证引入了 element-ui

安装以及使用

# install dependencies
npm install sy-base-ui -S

# import dependencies
import SYUI from 'sy-base-ui'

# mount method
Vue.use(SYUI)

usage:

其中 num-input 为数字编辑组件 绑定的值 val 的值为正常值( 12356733.12 ),界面显示的值为千分位格式化后的值( 123,567,33.12 )

<num-input :precision=2  v-model='val' ></num-input>

// precision 默认值为2,为 0 时表示只能输入整数,为 1-5 时表示只能有几位小数点 不足的时候会自动补齐后面的 0

//negative    默认值为false 为true时支持负数,为false时不支持负数

//isNormalNum   默认值为false 为true时是没有千分位格式化。为false时有

//tofixed 默认值为false 为true时是进行四舍五入,可以搭配precision使用

//max 默认值为999999999  当输入的值超过max时,将值重置为设置的max的值


//@inputEvent 输入时候的事件
目前暂时只有一个组件,后续会有更多组件更新....