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

yhcodingsdp

v1.0.4

Published

插码采集

Readme

yhcoding

插码采集

采集参数

| 采集参数 | 说明 | :--------------- :---- | WT.etno | 货架/⻚⾯插码编号(页面id、或者唯一标识页面和货架的唯一标识) | WT.title | 名称(⾃动获取⽹⻚标题) | WT.enterTime | 进⼊时间 (按服务端⽣成时间) | WT.event | 插码事件(页面浏览:MPXPageShow、页面退出:MPXPageHide、弹窗弹出:MPXPopShow、弹窗关闭:MPXPopHide、物料曝光:MPXMrImp、目标受理(办理):MPXHandle、添加购物车:MPXad、删除购物车:MPXde、支付:MPXpay、取消办理:MPXnoHandle、确认办理:MPXconfirmHandle、短信验证:MPXverifym、其它other)

| WT.platForm | 平台标识(触点平台 tycdpt、云货架购物车模式gxydyhj_pt_mycart、云货架非购物车模式 gxydyhj_pt、云货架集团小程序 gxydyhj_jtxcx、亚信云货架单品页 gxydyhj_yx、和掌桂hzg、和掌桂云货架单品页 gxydyhj_hzg、和掌桂集团小程序hzg_jtxcx、智慧厅店 gxb2c、智慧厅店云货架单品页gxydyhj_gxb2c、智慧厅店集团小程序 gxb2c_jtxcx)

| WT.xso | 登录⽤户(加密,第三⽅⼚家可以提供接⼝获取) | WT.type | 插码类型(货架页 shelves、商品页 commodity、购物车 myCart、订单确认页 orderConfirm 、办理成功页面handledSuc、办理失败页 handledFail、其它 other) | WT.surmark | 来源标识(外部系统来源的唯一标识)它other) | WT.opetype | 操作类型(页面进入 1、页面离开 2、事件触发 3、元素曝光 4、办理 5) | WT.affno | 事务关联id(前端生成唯一标识,每次刷新当前页或者离开后再进入都重新生成,该id用于标记一个可见事务周期,即便于计算用户进入和离开相关操作数据统计) | WT.url | 当前用户访问的url | WT.xsof | 访客用户指纹编号(插码js增加功能,在进入页面的时候判断cookie是否存在,如果不存在则设置它,并让他次日失效。) | WT.rout | 链路标识,依次存储访问页面id(包含组件id,如果有的话),按英文逗号分割 | WT.leaveTime | 离开时间(按服务端⽣成时间) | WT.ename | 事件名称 | WT.evetype | 事件类型(弹框 popview、跳链clk、选择select、其它other) | WT.zjxno | 运营位编码(后台编辑运营位的时候动态生成并保存到积木化系统,前端渲染的时候要加载在界面,提供插码上报使用) | WT.si_x | 成功/失败(99 或者 -99) | WT.mon | 商品或者订单总金额

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run serve

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

引用方法

npm安装:npm i yhcoding

使用: vue项目 import yhSdp from 'yhcoding'

yhSdp.yhcoding.dcsMultiTrack({ etnoStr: '1111', titleStr:'222' })

script引入:

var yhSdp = yhcoding; yhSdp.yhcoding.dcsMultiTrack({ etnoStr: '1111', titleStr:'222' })