# 使用 npm 安装 sw2dts

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

## 安装

```sh
sudo av install npm:sw2dts
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g sw2dts
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:sw2dts
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/sw2dts>
- **版本:** 2.6.3
- **来源摘要:** Generates TypeScript definition file(d.ts) from swagger.json
- **主页:** <https://github.com/mstssk/sw2dts#readme>
- **仓库:** <https://github.com/mstssk/sw2dts>
- **上游文档:** <https://github.com/mstssk/sw2dts#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/sw2dts/-/sw2dts-2.6.3.tgz>
- **问题跟踪器:** <https://github.com/mstssk/sw2dts/issues>
- **发布时间:** 2020-06-18T11:23:43.581Z
- **最后更新:** 2020-06-18T11:23:43.581Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sw2dts (cli)
- sw2dts (别名)

## 依赖

- commandpost
- dtsgenerator
- js-yaml

## 构建依赖

- @types/js-yaml
- @types/mkdirp
- @types/mocha
- @types/nexpect
- @types/node
- @types/rimraf
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- conventional-changelog-cli
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- mkdirp
- mocha
- nexpect
- prettier
- rimraf
- typescript

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 2.7.0-beta.2, Latest: 2.6.3, Next: 2.6.0-alpha.2
- **Version Count:** 24
- **Maintainers:** mstssk
- **Author:** mstssk
- **Publisher:** mstssk
- **Integrity:** sha512-U3xQLscS0pUeTQEtFHjpgPuET8sb50wHR04GoVGhhPF2BlcfSo3J3jV7mjo0qka/rni3NZWKaIwt6YrNo6aOGA==
- **Shasum:** 7b7a9bc16aa7cce4ba8374ca3888d622f7161d78
- **Unpacked Size:** 17,219
- **File Count:** 0
- **Created At:** 2016-05-06T17:53:41.186Z
- **Latest Published At:** 2020-06-18T11:23:43.581Z
- **Modified At:** 2022-06-27T02:42:52.551Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [dtsgenerator](https://pkg.so/zh-hans/npm/dtsgenerator/) - Both packages work with overlapping file formats or content types. Shared terms: d-ts, dtsgenerator, file, js-yaml, json.
- [@techspokes/typescript-wsdl-client](https://pkg.so/zh-hans/npm/techspokes-typescript-wsdl-client/) - Both packages work with overlapping file formats or content types. Shared terms: js-yaml, swagger, typescript, yaml.
- [any-json](https://pkg.so/zh-hans/npm/any-json/) - Both packages work with overlapping file formats or content types. Shared terms: js-yaml, json, typescript, yaml.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
