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

gt-login

v1.0.5

Published

A Vue.js project

Readme

用法介绍:

在自己项目的mian.js 里面导入:

import gtLogin from 'gt-login' Vue.use(gtLogin)

在自己项目中引用: <gtLogin visible.sync="visible" color="#ef3b79" top="15vh" width="80%" size="16px" domain="http://192.168.2.254:8080" :busId="36" @loginSuccess="aa"/>

  1. visible 必填 Booble类型 默认值:false(隐藏)
    作用:显示隐藏

  2. color 选填 string类型 默认值:#ef3b79
    作用:发送验证码边框和字体颜色以及底部确定按钮背景颜色

  3. top 选填 string类型 默认值:15vh
    作用:弹出层距离顶部位置

  4. width 选填 string类型 默认值:80%
    作用:弹出层的宽度

  5. size 选填 string类型 默认值:16px
    作用:适配手机端 组件用em做适配 即以父级的字体大小做为参考 默认为16px 如果父元素没有设置font-size,那么它的参考对象就会一直往上冒泡,直到body,也就是参考的是该元素最近的,定了font-size的、父元素。元素最终字体大小 = 该元素的字体大小 * 所参考的父元素的字体大小

  6. domain 必填 string类型 默认值:http://192.168.2.254:8080
    作用:各个环境的域名

  7. busId 必填 string or number类型 默认值:36 作用:每个商家的busId

  8. loginSuccess 选填
    作用: 登录成功的回调方法 可接收到自行处理