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

y9plugin-sso-v95

v2.0.5

Published

<!-- * @Author: yeHaifeng * @Date: 2022-01-05 09:38:24 * @Description: vue3.x * @FilePath: /y9plugin-sso/README.md --> # y9plugin-sso 插件使用说明

Readme

当前版本只通用于“北京有生博大软件股份有限公司”的软件架构中(v9.5)的 SSO 服务

y9plugin-sso 插件使用说明

版本说说明: vue2.x 项目 对应插件版本 2.x.yy
vue3.x 项目 对应插件版本 3.x.yy

第 2 步:main.js 引入代码示例

import sso from "y9plugin-sso";
Vue.use(sso);

其它

    具体使用说明文档查看:https://note.youdao.com/s/VZFo3N6D
    本地测试配置vue.config.js文件添加sso的代理

更新日志

vue2.x
0.4.8 备份一份用户信息的数据到sessionStorage
0.4.81 增加路由白名单,这个版本屏蔽了监听浏览器的关闭事件
0.4.82 修改单点登陆缓存到sessionStorage
0.4.83 经过测试思考还是将单点登陆缓存到localStorage
0.4.84 优化了check白名单函数
0.4.85 修复跨工程之间的用户信息切换
0.4.9 完善谷歌浏览器的关闭事件监听,火狐不稳定,此版本未启动功能
0.4.91 实现权限功能,登陆成功后提供外部接口执行,从而实现每个工程的特有需求
0.5.0 添加中间页面跨域信息共享
0.5.1 实现权限功能的版本上,添加跨域信息共享功能的版本
1.0.0 同0.4.91版本,只是源码和编译过后的区别
1.0.1 增加自定义登陆页功能:通过入口文件指定appLoginPage登陆页面
1.0.2 sso的API增加了一个参数,否则无法登陆进去
1.0.3 不读取插件里的所有环境变量配置,完全读取插件所在的vue工程里的环境变量配置(测试错误,不要使用此版本)
1.1.0 使用了redis解决浏览器多标签场景下的账号退出和账号切换问题
1.2.0 使用了CDN
2.0.0 完全解耦合,插件只对所在Vue工程注入全局的sso单点登录相关的接口函数
2.0.1 全局注入 ssoRedisDeleteApi,优化部分细节
2.0.4 删除了redis中间件
2.0.5 修复360从兼容模式切换到极速模式时的一个参数错误
vue3.x
仓库地址:https://www.npmjs.com/package/y9plugin-sso