# 使用 npm 安装 smartwrap

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

## 安装

```sh
sudo av install npm:smartwrap
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g smartwrap
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:smartwrap
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/smartwrap>
- **版本:** 2.0.2
- **来源摘要:** Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.
- **主页:** <https://github.com/tecfu/smartwrap#readme>
- **仓库:** <https://github.com/tecfu/smartwrap>
- **上游文档:** <https://github.com/tecfu/smartwrap#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/smartwrap/-/smartwrap-2.0.2.tgz>
- **问题跟踪器:** <https://github.com/tecfu/smartwrap/issues>
- **发布时间:** 2021-05-15T17:58:32.796Z
- **最后更新:** 2021-05-15T17:58:32.796Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- smartwrap (cli)
- smartwrap (别名)

## 依赖

- array.prototype.flat
- breakword
- grapheme-splitter
- strip-ansi
- wcwidth
- yargs

## 构建依赖

- chai
- eslint
- grunt
- grunt-cli
- grunt-mocha-test
- husky
- mocha

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.2
- **Version Count:** 24
- **Maintainers:** tecfu
- **Author:** tecfu
- **Publisher:** tecfu
- **Engines:** Node: >=6
- **Integrity:** sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==
- **Shasum:** 7e25d3dd58b51c6ca4aba3a9e391650ea62698a4
- **Unpacked Size:** 35,716
- **File Count:** 0
- **Created At:** 2017-05-19T00:43:44.567Z
- **Latest Published At:** 2021-05-15T17:58:32.796Z
- **Modified At:** 2022-06-26T21:26:04.246Z


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [tty-table](https://www.automicvault.com/zh-hans/pkg/npm/tty-table/) - Local package facts share a topical domain. Shared terms: ansi, cli, control, developer, developer-tools.
- [tachometer](https://www.automicvault.com/zh-hans/pkg/npm/tachometer/) - Local package facts share a topical domain. Shared terms: ansi, cli, control, developer, developer-tools.
- [stream-throttle](https://www.automicvault.com/zh-hans/pkg/npm/stream-throttle/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, javascript.

## 来源

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