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

@zxyf/ztrack

v2.5.5

Published

zxyf web page track service

Downloads

14

Readme

蝉衣可视化回溯系统

蝉衣可视化回溯系统由青岛中正合力软件有限公司自主研发,具有回溯内容全面、有效、全程自带追溯码、防篡改、回溯记录易查阅的特点。

同时,本系统接入简单、数据量小,非常适用于保险、金融领域的交易全过程回溯。

1. 安装蝉衣回溯依赖库

npm install @zxyf/ztrack
或
yarn add @zxyf/ztrack

2. 录制初始化

// 引入录制库
import ZTrackRecorder from '@zxyf/ztrack';

// 初始化参数
const params = {
  autoStart: true // 是否自动开始
};

// 通过构造函数实例化后再执行初始化
const recorder = new ZTrackRecorder();
recorder.init(params).then(() => {
  console.log('录制初始化成功,开始录制');
});
// 初始化成功后可以通过recorder.bizUuid 获取当前bizUuid
// bizUuid 也可以放到params中作为初始化参数

3 开始录制

// 如果初始化参数 autoStart 为true,则无需调用  
recorder.start().then(() =>{
  console.log('开始录制');
});

4 添加回溯业务节点

// 添加的业务节点可以在回溯视频中直接查看,业务节点KEY值、名称可以在后台进行设置

recorder.addBizNode('VIEW_NOTICE').then(() =>{
  console.log('添加“查看须知”业务节点');
});  // 添加业务节点,可以通过 recorder.bizNodes 获取,非必须

5 停止录制

// 停止录制,停止录制后继续调用 recorder.start() 可以继续录制
recorder.stop().then(() => {
  console.log('录制停止');
});

6 完成录制

// 完成录制,表示业务已完成,后续不可继续录制
recorder.finish().then(() => {
  console.log('录制完成');
});

7 回溯效果播放

初始化成功后可以通过recorder.bizUuid 获取当前bizUuid,
回溯完成后可以通过以下链接查看,其中XXXX是录制时传入的bizUuid


https://dev.helisoft.cn/ztrack-simple-player/?bizUuid=XXXX

8. 管理后台播放

蝉衣回溯配备了管理后台,我们以vant组件库进行回溯测试,模拟添加业务节点后,实际播放效果如下:

webwxgetmsgimg

备注:

​ 请勿在正式环境直接使用,商用请联系商务人员:

​ 18513565468 李经理 ​ 17664051807 耿经理