# 使用 npm 安装 danger

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

## 安装

```sh
sudo av install npm:danger
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g danger
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:danger
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/danger>
- **版本:** 13.0.7
- **来源摘要:** Unit tests for Team Culture
- **主页:** <https://github.com/danger/danger-js#readme>
- **仓库:** <https://github.com/danger/danger-js>
- **上游文档:** <https://github.com/danger/danger-js#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/danger/-/danger-13.0.7.tgz>
- **问题跟踪器:** <https://github.com/danger/danger-js/issues>
- **发布时间:** 2026-03-12T16:21:39.497Z
- **最后更新:** 2026-06-18T10:33:36.601Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- danger (cli)
- danger-ci (cli)
- danger-init (cli)
- danger-js (cli)
- danger-local (cli)
- danger-pr (cli)
- danger-process (cli)
- danger-reset-status (cli)
- danger-runner (cli)
- danger (别名)

## 依赖

- @gitbeaker/rest
- @octokit/rest
- async-retry
- chalk
- commander
- core-js
- debug
- fast-json-patch
- http-proxy-agent
- https-proxy-agent
- hyperlinker
- ini
- json5
- jsonpointer
- jsonwebtoken
- lodash.includes
- lodash.isobject
- lodash.mapvalues
- lodash.memoize
- memfs-or-file-map-to-github-branch
- micromatch
- node-cleanup
- node-fetch
- override-require
- parse-diff
- parse-github-url
- parse-link-header
- pinpoint
- prettyjson
- readline-sync
- regenerator-runtime
- require-from-string
- supports-hyperlinks

## 构建依赖

- @babel/cli
- @babel/core
- @babel/plugin-transform-flow-strip-types
- @babel/plugin-transform-typescript
- @babel/preset-env
- @babel/traverse
- @types/async-retry
- @types/debug
- @types/ini
- @types/jest
- @types/json5
- @types/jsonpointer
- @types/jsonwebtoken
- @types/lodash.includes
- @types/lodash.mapvalues
- @types/lodash.memoize
- @types/micromatch
- @types/node
- @types/node-fetch
- @types/parse-github-url
- @types/prettier
- @types/readline-sync
- @types/voca
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- danger-plugin-jest
- danger-plugin-yarn
- date-fns
- eslint
- eslint-config-prettier
- eslint-plugin-jest
- eslint-plugin-jsdoc
- flow-bin
- husky
- jest
- jest-json-reporter
- lint-staged
- madge
- nock
- pkg
- prettier
- release-it
- shx
- ts-jest
- ts-node
- typedoc
- typescript
- typescript-json-schema

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 13.0.7
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/danger/danger-js
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 3.0.0-beta.2, Beta: 5.0.0-beta-24, Gitlab: 8.0.0-alpha-1, Latest: 13.0.7
- **Version Count:** 328
- **Maintainers:** macklinu, orta, dangersystems
- **Author:** Orta Therox
- **Publisher:** orta
- **Engines:** Node: >=18
- **Integrity:** sha512-H7Syz9P3np7tgOjTYs1DDogjlknPWYwBIJXUTFIK5iFZOQ0b8irkUz5swOLFUmw7j0aKuybhwkXTcfyHFvRzCQ==
- **Shasum:** 10397420383bd69d8efcd52cd959b6d3ff7108c1
- **Unpacked Size:** 1,405,114
- **File Count:** 0
- **Created At:** 2016-05-30T23:26:34.359Z
- **Latest Published At:** 2026-03-12T16:21:39.497Z
- **Modified At:** 2026-03-12T16:21:39.610Z


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [release-please](https://www.automicvault.com/zh-hans/pkg/npm/release-please/) - Both packages touch the same language runtime or ecosystem. Shared terms: agent, async, async-retry, chalk, file.
- [selenium-standalone](https://www.automicvault.com/zh-hans/pkg/npm/selenium-standalone/) - Local package facts share a topical domain. Shared terms: agent, commander, debug, http, http-proxy-agent.
- [cy2](https://www.automicvault.com/zh-hans/pkg/npm/cy2/) - Local package facts share a topical domain. Shared terms: agent, chalk, ci, http, https.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
