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

zq-qspace

v2.0.1

Published

*** ### Bundle - npm run test - 开发模式使用, 打包路径为 src; 输出路径为 example/sdk/build - 特性 - 保留代码注释 - 代码不做混淆 - 代码不做压缩

Downloads

6

Readme


Bundle

  • npm run test

    • 开发模式使用, 打包路径为 src; 输出路径为 example/sdk/build
    • 特性
      • 保留代码注释
      • 代码不做混淆
      • 代码不做压缩
  • npm run build

    • 生产模式使用, 打包路径为 src; 输出路径为 example/sdk/build
    • 特性
      • 代码移除注释
      • 代码混淆
      • 代码压缩

Run

Run (开发效率高,推荐使用)

  • npm run bin
    • 开发模式使用,打包路径为 src; 输出路径为 example/sdk/dev
    • 特性
      • 创建serve
      • 监听文件变化
      • 处理BundleCache
      • 生成sourcemap

文件名规范

  1. 不推荐用大写字母
  2. 不推荐使用下滑线
  3. 不推荐使用数字开头

js代码规范

  1. 单个js模块,不推荐超过1000行
  2. 单个js模块, 注释率保证需达到50%
  3. 不允许嵌套引用对象

应用模板

  • extension/y.template.js

接口模板

  • events/y.template.js

版本号更新规则

  1. 每次提测需更新版本号
  2. 新增GitTag
  • git tag -a <tag-version> -m <版本说明>
  • git push orgin <tag-version>

版本号命名规则 (v1.0.0)

  • vMain.Feature.Bug
  • v 表示Version缩写
  • Main 表示主架构层改动; 编号范围 [1, 10]
  • Feature 表示功能模块新增或者大改动; 编号范围 [0, 50]
  • Bug 表示解决迭代任务改动; 编号范围 [0, 100]

版本号日期后缀(yyyy/mm/dd/hh.mm)

代码统计

node z.count.js <文件路径|文件名>

单元测试, 待完善

  1. 分为 BasicUnitTest: 基础模块单元测试; ExtUnitTest: 扩展模块单元测试
  2. 每个模块,"根据需要" 定义测试模块
  3. 单元测试结果,需输出Log日志
  4. 基础模块测试 - 日志Header:"basic.unit.test"
  5. 扩展模块测试 - 日志Header:"ext.unit.test"

SDK 开发版地址

https://oldbeyond.3dnest.cn/auto/ncz/common-sdk/dev/zqsdk.js

SDK 测试线地址

https://beyond.3dnest.cn/prelook/ncz/common-sdk/test/zqsdk.js

SDK 正式线地址

E100编辑端:https://beyond.3dnest.cn/zqsdk/zqsdk.js E100前端国内:https://vr.capreal.cn/zqsdk/zqsdk.js E100前端国外:https://vr.deepmoo.net/zqsdk/zqsdk.js