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-l

v4.3.0

Published

<!-- /** @Author: Ye HAIFENG * @Date: 2025-03-03 09:38:24 * @Description: vue3.x * @FilePath: /y9plugin-sso/README.md */ --> # y9plugin-sso 插件使用说明

Readme

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

当前对应的 sso 版本:4.2.9

安装使用步骤

第一步:npm install y9plugin-sso-l

第二步:main.js中替换原来的sso插件导入:import sso from 'y9plugin-sso-l',
main.js中传入插件的SSO信息,增加两个参数:
    1、VUE_APP_HOST_LICENSE: import.meta.env.VUE_APP_HOST_LICENSE
    2、VUE_APP_CONTEXT: import.meta.env.VUE_APP_CONTEXT

第三步:删除 packge.json 中关于y9plugin-sso插件的依赖

第四步:从已有的工程里去拷贝一个页面组件
    1、这里提供一个示例:拷贝 y9vue-storage/src/views/License 到项目中对应位置,用于显示 license 过期信息
    2、打开这个页面组件源码,查找所有翻译函数:t('xxxx'),去你当前工程的language文件夹下,添加对应的翻译语言
    3、英文:"License过期": "License expired" 和 "License无效": "License invalid"
    4、中文:"License过期": "License 过期" 和 "License无效": "License 无效"

第五步:添加上述这个页面组件的静态路由,
    1、在router/index.js中添加类似 404、401 这种路由,可参考:y9vue-storage/src/router/index.ts

第五步:启用对应项目的 license 查询服务接口即可

说明:使用此插件,即使没有找到后端的 license 查询服务接口,也不影响正常使用

原则是:只要后端对应项目启用了 license 查询服务接口,才真正影响使用。