# 使用 npm 安装 defs

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

## 安装

```sh
sudo av install npm:defs
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g defs
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:defs
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/defs>
- **版本:** 1.1.1
- **来源摘要:** Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.
- **主页:** <https://github.com/olov/defs#readme>
- **仓库:** <https://github.com/olov/defs>
- **上游文档:** <https://github.com/olov/defs#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/defs/-/defs-1.1.1.tgz>
- **问题跟踪器:** <https://github.com/olov/defs/issues>
- **发布时间:** 2015-10-09T19:59:57.172Z
- **最后更新:** 2015-10-09T19:59:57.172Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- defs (cli)
- defs (别名)

## 依赖

- alter
- ast-traverse
- breakable
- esprima-fb
- simple-fmt
- simple-is
- stringmap
- stringset
- tryor
- yargs

## 构建依赖

- diff

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.1.1
- **Version Count:** 18
- **Maintainers:** olov
- **Author:** Olov Lassus
- **Publisher:** olov
- **Integrity:** sha512-KgGV1vmSa2UPKeDXaWE5FiXjix8BOtYMgiPGpYhd/42wxiC6YGwtscj/zU9gD5/xk4K2iLDpyGhGA5puZxaeMg==
- **Shasum:** b22609f2c7a11ba7a3db116805c139b1caffa9d2
- **File Count:** 0
- **Created At:** 2013-04-24T06:29:46.327Z
- **Latest Published At:** 2015-10-09T19:59:57.172Z
- **Modified At:** 2022-06-14T23:32:37.632Z


## 相关链接

- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [ng-annotate](https://www.automicvault.com/zh-hans/pkg/npm/ng-annotate/) - Local package facts share a topical domain. Shared terms: alter, ast, cli, developer, developer-tools.
- [decaffeinate](https://www.automicvault.com/zh-hans/pkg/npm/decaffeinate/) - Local metadata places this package in an adjacent workflow. Shared terms: block, build, build-tools, cli, developer.
- [esnext](https://www.automicvault.com/zh-hans/pkg/npm/esnext/) - Local metadata places this package in an adjacent workflow. Shared terms: ast, build, build-tools, cli, developer.

## 来源

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