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 🙏

© 2025 – Pkg Stats / Ryan Hefner

uniapp-login

v0.0.2

Published

无限极业务平台登录组件,基于uniapp框架, 实现了卡号登录,手机号登录及微信登录

Readme

Uniapp-login

无限极业务平台登录组件,基于uniapp框架, 实现了卡号登录,手机号登录及微信登录

运行步骤

1.设置npm配置凭据

在需要安装组件的项目根目录中,新建.npmrc文件,内容如下:


; 请妥善保管您的配置
registry=https://infinitus-devops-npm.pkg.coding.net/web-components/uniapp/
always-auth=true
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:username=oinutkajsv
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:_password=<PASSWORD>
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:[email protected]
  • username:个人访问令牌,在coding的[个人账户设置]中可以查看
  • PASSWORD: 您的登陆密码,请注意对 PASSWORD 进行 Base64 编码
  • email:个人邮箱

2.安装依赖

npm install infinitus-login --registry=https://infinitus-devops-npm.pkg.coding.net/web-components/uniapp/

3.引入uniapp-login组件

<uLogin
    cloudCode="ecp-dev-6gc27wcv44a3c61e"
    appId="wx6c2cea63f9ccc86e"
    envType="dev"
    :isMall="false"
    @success="success"
    @error="error"
  />

4.上传云函数 将functions目录下的函数上传到云函数

属性说明

cloudCode 云函数env
appId	
envType	 环境(开发,准生产,生产)
isMall   样式:true(微商城),false(新商场)
success  登录成功后回调
error	 登录失败后回调

如何发布npm包

1.修改.npmrc文件

; 请妥善保管您的配置
registry=https://infinitus-devops-npm.pkg.coding.net/web-components/uniapp/
always-auth=true
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:username=uniapp-1637896606093
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:_password=MjZmZWJhZTY2ZmE5ZWU2M2NhN2FkMTY0ZWViMThjYmQ5OTVmMjE5Mw==
//infinitus-devops-npm.pkg.coding.net/web-components/uniapp/:[email protected]

将以上的username,password,email修改为对应的个人信息,username可在CODING中查询3

2.修改版本号

{
    "name": "infinitus-login",
    "version": "0.0.3",  //在此处修改版本号,遵循以往的版本号命名规则
    "main":"index.vue",
    "license": "ISC",
    "dependencies": {
        "oauth2": "1.0.0"
    }
}

3.执行npm发布命令

npm publish --registry=https://infinitus-devops-npm.pkg.coding.net/web-components/uniapp/