# 使用 npm 安装 astring

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

## 安装

```sh
sudo av install npm:astring
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g astring
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:astring
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/astring>
- **版本:** 1.9.0
- **来源摘要:** JavaScript code generator from an ESTree-compliant AST.
- **主页:** <https://github.com/davidbonnet/astring#readme>
- **仓库:** <https://github.com/davidbonnet/astring>
- **上游文档:** <https://github.com/davidbonnet/astring#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/astring/-/astring-1.9.0.tgz>
- **问题跟踪器:** <https://github.com/davidbonnet/astring/issues>
- **发布时间:** 2024-08-25T09:46:33.731Z
- **最后更新:** 2024-08-25T09:46:33.731Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- astring (cli)
- astring (别名)

## 构建依赖

- @babel/cli
- @babel/core
- @babel/generator
- @babel/parser
- @babel/preset-env
- acorn
- acorn-import-attributes
- astravel
- ava
- babel-preset-minify
- benchmark
- buble
- c8
- cross-env
- escodegen
- eslint
- eslint-config-prettier
- eslint-plugin-import
- esm
- glob
- husky
- lodash
- meriyah
- normalize-newline
- prettier
- standard-version
- sucrase
- uglify-js

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.9.0
- **Version Count:** 83
- **Maintainers:** davidbonnet
- **Author:** David Bonnet
- **Publisher:** davidbonnet
- **Integrity:** sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==
- **Shasum:** cc73e6062a7eb03e7d19c22d8b0b3451fd9bfeef
- **Unpacked Size:** 273,164
- **File Count:** 0
- **Created At:** 2015-08-03T12:00:42.446Z
- **Latest Published At:** 2024-08-25T09:46:33.731Z
- **Modified At:** 2024-08-25T09:46:33.925Z


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [react-styleguidist](https://pkg.so/zh-hans/npm/react-styleguidist/) - Local package facts share a topical domain. Shared terms: ast, cli, code, code-generation, developer.
- [skott](https://pkg.so/zh-hans/npm/skott/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-generation, codegen, developer.
- [prismic-ts-codegen](https://pkg.so/zh-hans/npm/prismic-ts-codegen/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, codegen, developer.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
