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

@hualinge/relay-green-package

v0.1.0

Published

华为云集成组件包,从 OfficeClaw API server 中提取的独立 npm 包。

Readme

@hualinge/relay-green-package

华为云集成组件包,从 OfficeClaw API server 中提取的独立 npm 包。

包含组件

| 组件 | 导出路径 | 说明 | |------|----------|------| | Huawei IAM Auth Provider | ./auth | 华为云 IAM 认证 Provider | | Huawei CAS Auth Provider | ./auth | 华为云 CAS 认证 Provider | | MaaS Runtime Config | ./integrations | 华为云 MaaS 运行时配置解析 | | HWS Signer | ./utils | 华为云签名工具 | | AOM Metrics Client | ./metrics | 华为云 AOM 指标上报客户端 | | Metrics Plugin | ./metrics-plugin | Metrics Provider 插件 | | Providers Plugin | ./providers-plugin | Runtime Providers 插件 |

安装

pnpm add @hualinge/relay-green-package

使用示例

Auth Provider

import { createHuaweiIamAuthProvider } from '@hualinge/relay-green-package/auth';
import { createHuaweiCasAuthProvider } from '@hualinge/relay-green-package/auth';

// IAM 认证
const iamProvider = createHuaweiIamAuthProvider();

// CAS 认证
const casProvider = createHuaweiCasAuthProvider();

MaaS Runtime Config

import { resolveHuaweiMaaSRuntimeConfig } from '@hualinge/relay-green-package/integrations';

// 解析华为云 MaaS 配置
const config = await resolveHuaweiMaaSRuntimeConfig({
  endpoint: process.env.HUAWEI_MAAS_ENDPOINT,
});

AOM Metrics

import { createAomMetricsClient } from '@hualinge/relay-green-package/metrics';

const client = createAomMetricsClient({
  endpoint: process.env.HUAWEI_AOM_ENDPOINT,
  projectId: process.env.HUAWEI_PROJECT_ID,
});

HWS Signer

import { HwsSigner } from '@hualinge/relay-green-package/utils';

const signer = new HwsSigner({
  accessKey: process.env.HUAWEI_ACCESS_KEY,
  secretKey: process.env.HUAWEI_SECRET_KEY,
});

const signature = signer.sign(request);

环境变量

| 变量 | 说明 | 组件 | |------|------|------| | HUAWEI_IAM_ENDPOINT | IAM 服务 endpoint | auth/huawei-iam | | HUAWEI_CAS_ENDPOINT | CAS 服务 endpoint | auth/huawei-cas | | HUAWEI_MAAS_ENDPOINT | MaaS 服务 endpoint | integrations/huawei-maas | | HUAWEI_AOM_ENDPOINT | AOM 服务 endpoint | metrics/aom-access-code-client | | HUAWEI_ACCESS_KEY | 华为云 Access Key | utils/signer | | HUAWEI_SECRET_KEY | 华为云 Secret Key | utils/signer |

Peer Dependencies

需要安装:

pnpm add @openjiuwen/relay-api-server-contracts

相关文档

License

MIT