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

@aliedu/loginbycorp

v0.1.43

Published

教育行业扫码登录

Downloads

260

Readme

edu-login

@aliedu/loginByCorp

教育行业登录

API

| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ---- | ---- | ------ | ---- | | | | | | | |

登录注册逻辑

st=>start: 进入登录页
cond1=>condition: url中是否携带authCode参数?
cond2=>condition: 当前组织是否已经安装应用?
cond3=>condition: 当前组织是否已经注册?
cond4=>condition: 用户身份是否为管理员?
cond5=>condition: 用户是否已经注册?
cond6=>condition: 用户是否为审批中状态?
cond7=>condition: 用户是否为已拒绝状态?
opt1=>operation: 调用登录接口,确认登录状态
opt2=>operation: 调用安装确认接口,确认是否已经安装
opt3=>operation: 调用注册接口,进行账号注册
opt4=>operation: 跳转钉钉登录页,扫码登录,选择组织后,重新跳转回登录页
opt5=>operation: 渲染二维码,提示管理员安装应用后,可点击下一步按钮继续
opt6=>operation: 点击下一步按钮
io=>inputoutput: 用户输入账号密码进行账号注册
e1=>end: 结束,跳转首页
e2=>end: 结束,用户状态为审批中
e3=>end: 结束,用户状态为已拒绝
e4=>end: 结束,用户状态为已停用
e5=>end: 结束,组织未注册

st->cond1
cond1(yes)->opt1->cond2
cond1(no)->opt4->cond1
cond2(yes)->cond3
cond2(no)->opt5->opt6->cond2
cond3(yes)->cond5
cond3(no)->cond4
cond4(yes)->io->opt3->e1
cond4(no)->e5
cond5(yes)->e1
cond5(no)->cond6
cond6(yes)->e2
cond6(no)->cond7
cond7(yes)->e3
cond7(no)->e4