@angular-experts/hawkeye

中文文档
1.7.2发布于 2024/12/29ISCCommonJS近 30 天下载 4171

CLI to launch Hawkeye, a bundle analyzer / visualizer

原始使用文档
文档目录5 节
  1. Setting up analyze scripts
  2. Running the analyzer directly
  3. Version
  4. Help
  5. Contributors ✨

Hawkeye

All Contributors

Preview

Table of Contents generated with DocToc

Welcome to Hawkeye, a powerful tool designed to help developers visualize and optimize their JavaScript bundles. With our intuitive interface, you can gain deep insights into your project’s bundle structure, identifying large modules, dependencies, and assets that may be impacting performance.

Our visual breakdown allows you to see exactly how your code and third-party libraries contribute to the overall size of your bundle, empowering you to make data-driven decisions to improve load times, enhance performance, and streamline your build process.

Setting up analyze scripts

Hawkeye is provides a init command to help you set up analyze scripts in your package.json with ease. Simply run the following command and answer the questions from the wizard:

npx @angular-experts/hawkeye init

From here on you can run the following commands to analyze your project:

npm run analyze

Running the analyzer directly

If you prefer to run the analyzer directly, you can do so by running the following command:

npx @angular-experts/hawkeye 

Version

Use the following command to print the version of Hawkeye:

npx hawkeye --version

Help

For more information on using Hawkeye, including detailed command references run:

npx hawkeye --help

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Nivek
Nivek

💻
Add your contributions

版本与发布记录

@angular-experts/hawkeye 共发布 11 个版本,首次发布于 2024/11/22;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.7.2latest2024/12/291.9 年前
1.7.12024/12/051.9 年前
1.7.02024/12/051.9 年前
1.6.02024/12/051.9 年前
1.5.12024/12/041.9 年前
1.5.02024/12/031.9 年前

关于 @angular-experts/hawkeye 的常见问题

@angular-experts/hawkeye 是什么?

CLI to launch Hawkeye, a bundle analyzer / visualizer

如何安装 @angular-experts/hawkeye?

在项目目录运行 npm install @angular-experts/hawkeye,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 hawkeye,可以用 npx hawkeye 直接运行。

@angular-experts/hawkeye 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/angular-experts__hawkeye 是否存在。

@angular-experts/hawkeye 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@angular-experts/hawkeye 可以商用吗?

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

@angular-experts/hawkeye 的下载量有多少?

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

@angular-experts/hawkeye 还在维护吗?

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