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

@chinaums/oem

v1.0.1

Published

extend && replace Package

Readme

ChinaUMS Apps

修改对象的翻译文件

1、添加翻译文件夹及对象翻译文件。 在default文件夹下新建一个objectTranslations文件夹,其下新建 objectName.en 和 objectName.zh-CN 两个同级文件夹,最后各自新建中英文翻译的yml文件。 目录如下:

|-- default
   |-- objectTranslations
       |-- objectName.en
           |-- objectName.en.objectTranslation.yml
       |-- objectName.zh-CN
           |-- objectName.zh-CN.objectTranslation.yml

2、修改翻译内容。 在新建的yml文件中添加翻译内容。 例如:修改“API Key”字段的分组名; 文件路径: app-oem/main/default/objectTranslations/spaces.zh-CN/spaces.zh-CN.objectTranslation.yml

name: spaces
label: 公司
groups:
  developer: 智企易码

修改全局变量的翻译文件

全局变量的原始翻译文件可以在 node_modules/@steedos/i18n/translations 中查看。 1、添加全局变量翻译文件。 在default文件夹下新建一个translations文件夹,其下新建 en.translation.yml 和 zh-CN.translation.yml 两个中英文翻译yml文件。

|-- default
   |-- translations
       |-- en.translation.yml
       |-- zh-CN.translation.yml

例如:修改审批=>填写表单 中右上角的“帮助”链接; 文件路径:app-oem/main/default/translations/zh-CN.translation.yml

CustomLabels:
  # 审批=>填写表单 中右上角的“帮助”链接
  new_help: 'https://shop.ielc.chinaums.com/docs/user/workflow#%E5%A6%82%E4%BD%95%E5%A1%AB%E5%8D%95'

NPM软件包发包过程

1、NPM登陆;

npm login

2、cd到app-package目录下对应软件包目录;

3、软件包发布;

npm publish

4、发布前需要调整软件包版本:修改package.json文件的version版本即可。 更多详情请见 软件包发布与安装