@ebury/huha

中文文档
3.5.0发布于 2024/02/12MITTypeScriptESM + CJS近 30 天下载 2463

huha.js (Hyperactive Users Hint Analysis) is a JavaScript framework that measures the usability and user experience in an automated way, including the limitations of the model and the best practices.

原始使用文档
文档目录5 节
  1. Installation
  2. Usage
  3. API Reference
  4. Prerequisites
  5. References

HUHA

This repository contains the source code for HUHA (Hyperactive Users Hint Analysis).

HUHA is a JavaScript library that helps measure the usability and user experience of a project in an automated way.

  1. Vision
  2. Code Owners
  3. Contributing
  4. Installation
  5. Usage
  6. Prerequisites
  7. References

Installation

If you want to contribute to the library then you will have to clone the repository and install all dependencies:

git clone https://github.com/Ebury/huha.git
cd huha
npm install

Usage

If you want to use the library in your project then you will have to install it (via npm) as a dependency:

npm install @ebury/huha --save

And then you can import the Huha class in your application:

import Huha from '@ebury/huha'

API Reference

You can visit Reference to check the reference.

Prerequisites

For the correct registration of the information in the tracking tools it is required that the set-up scripts of those tools to be used have been executed, which will define the necessary global variables. For instance, if the option trackOnSegment is set to true, HUHA expects to find the Segment corresponding global variable, analytics, filled in.

References

JavaScript

Jest

npm

Google Analytics

Intercom

Segment

版本与发布记录

@ebury/huha 共发布 18 个版本,首次发布于 2019/09/11;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.5.0latest2024/02/122 年前
3.4.32023/06/193 年前
1.5.0legacy-core2023/05/103 年前
3.4.22022/10/044 年前
3.4.12022/10/044 年前
3.4.02021/09/245 年前

关于 @ebury/huha 的常见问题

@ebury/huha 是什么?

huha.js (Hyperactive Users Hint Analysis) is a JavaScript framework that measures the usability and user experience in an automated way, including the limitations of the model and the best practices.

如何安装 @ebury/huha?

在项目目录运行 npm install @ebury/huha,或使用 pnpm add / yarn add / bun add。

@ebury/huha 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@ebury/huha 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@ebury/huha 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@ebury/huha 可以商用吗?

@ebury/huha 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@ebury/huha 的下载量有多少?

根据 npm 官方下载统计,@ebury/huha 在 2026/10/13 – 2026/11/11 这 30 天内被下载 2,463 次,日均约 82 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ebury/huha 还在维护吗?

最新版本 3.5.0 发布于 2024/02/12(2 年前);至今共发布 18 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/09/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。