# Install sw2dts with npm

Generates TypeScript definition file(d.ts) from swagger.json. Version 2.6.3 via npm; verified 2020-06-18.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:sw2dts
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/sw2dts>
- **Version:** 2.6.3
- **Source summary:** Generates TypeScript definition file(d.ts) from swagger.json
- **Homepage:** <https://github.com/mstssk/sw2dts#readme>
- **Repository:** <https://github.com/mstssk/sw2dts>
- **Upstream docs:** <https://github.com/mstssk/sw2dts#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/sw2dts/-/sw2dts-2.6.3.tgz>
- **Issue tracker:** <https://github.com/mstssk/sw2dts/issues>
- **Published:** 2020-06-18T11:23:43.581Z
- **Last updated:** 2020-06-18T11:23:43.581Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- sw2dts (cli)
- sw2dts (alias)

## Dependencies

- commandpost
- dtsgenerator
- js-yaml

## Build dependencies

- @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

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.6.3
- Package-manager updated: 2020-06-18
- Local data: ok
- Upstream repository: https://github.com/mstssk/sw2dts
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for sw2dts. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [dtsgenerator](https://pkg.so/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/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/npm/any-json/) - Both packages work with overlapping file formats or content types. Shared terms: js-yaml, json, typescript, yaml.

## Sources

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