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

@ruijie-sso/common-new

v1.0.8

Published

common-new library for SSO Admin

Readme

common-new

公共库集合

LocationService

处理链接跳转的,跳转链接,刷新页面,设置 url 参数,获取 url 参数等

help-center ---- 帮助中心

帮助中心,对授权的用户可进行文件的上传、下载,以及链接的跳转等操作。

  1. 目前使用的地方有两个:
    • 组织中心(organization-center)
    • admin 系统(admin)
  2. 使用:
    • 通过路由引入 module,并跳转到帮助中心模块。

      {
        "path": "help",
        "loadChildren": () => import('@ruijie-sso/common-new/help-center').then(m => m.HelpCenterModule)
      }

log-schema

根据 schema 动态展示带有不同搜索条件的日志页面;

  1. 内容
  • 包括一些日志页面的基类、时间范围搜索、详情抽屉、选择展示列配置等;
  1. 使用
  • 在使用的地方引入LogSchemaModule import { LogSchemaModule } from '@ruijie-sso/common-new/log-schema'

member-search

成员搜索,通过下拉框选择搜索条件,并可以在基本搜索和高级搜索间切换

  1. 内容
  • 包括基本搜索框、高级搜索抽屉等;
  1. 使用
  • 在使用的地方引入MemberSearchModule import { MemberSearchModule } from '@ruijie-sso/common-new/member-search'

org-post-tree

组织部门&岗位树 module,展示组织部门或者岗位的不同层级树结构。

  • HighlightedPipe 为搜索关键词高亮处理管道
  1. 使用
  • 在使用的地方引入OrgPostTreeModule import { OrgPostTreeModule } from '@ruijie-sso/common-new/org-post-tree'

org-tree

组织部门树 module,展示组织部门的不同层级树结构,且根据需要可展示部门图标,可进行 check 选择,如果开启了操作展示,可进行组织部门的新增,复用、排序、编辑、删除等操作;

  1. 使用
  • 在使用的地方引入OrgTreeModule import { OrgTreeModule } from '@ruijie-sso/common-new/org-tree'

search-list

搜索列表,并对搜索关键词高亮显示

  1. 使用
  • 在使用的地方引入SearchListModule import { SearchListModule } from '@ruijie-sso/common-new/search-list'

show-export-col

根据配置,导出展示列数据 && 修改展示列

  1. 使用
  • 在使用的地方引入ShowExportColModule import { ShowExportColModule } from '@ruijie-sso/common-new/show-export-col'
  • 组件继承 ShowExpColComponentBase