# 使用 npm 安装 sha.js

查看 sha.js 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:sha.js
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g sha.js
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:sha.js
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/sha.js>
- **版本:** 2.4.12
- **来源摘要:** Streamable SHA hashes in pure javascript
- **主页:** <https://github.com/crypto-browserify/sha.js>
- **仓库:** <https://github.com/crypto-browserify/sha.js>
- **上游文档:** <https://github.com/crypto-browserify/sha.js>
- **许可证:** (MIT AND BSD-3-Clause)
- **源码归档:** <https://registry.npmjs.org/sha.js/-/sha.js-2.4.12.tgz>
- **问题跟踪器:** <https://github.com/crypto-browserify/sha.js/issues>
- **发布时间:** 2025-07-01T17:46:33.039Z
- **最后更新:** 2025-07-01T17:46:33.039Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- sha.js (cli)
- sha.js (别名)

## 依赖

- inherits
- safe-buffer
- to-buffer

## 构建依赖

- @ljharb/eslint-config
- auto-changelog
- encoding
- eslint
- hash-test-vectors
- npmignore
- tape
- typedarray

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.4.12
- 管理器更新时间: 2025-07-01
- 本地数据: OK
- 上游仓库: https://github.com/crypto-browserify/sha.js
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 sha.js 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.4.12
- **Version Count:** 40
- **Maintainers:** ljharb, dcousens, cwmma
- **Author:** Dominic Tarr
- **Publisher:** ljharb
- **Engines:** Node: >= 0.10
- **Funding:** <https://github.com/sponsors/ljharb>
- **Integrity:** sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w==
- **Shasum:** eb8b568bf383dfd1867a32c3f2b74eb52bdbf23f
- **Unpacked Size:** 66,073
- **File Count:** 0
- **Created At:** 2013-12-27T05:28:03.917Z
- **Latest Published At:** 2025-07-01T17:46:33.039Z
- **Modified At:** 2025-07-01T17:46:33.220Z


## 相关链接

- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [sifter](https://www.automicvault.com/zh-hans/pkg/npm/sifter/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, hashes, javascript, security.
- [snarkjs](https://www.automicvault.com/zh-hans/pkg/npm/snarkjs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, hashes, javascript, security.
- [bcryptjs](https://www.automicvault.com/zh-hans/pkg/npm/bcryptjs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, javascript, security.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
