# @slack/types

> Shared type definitions for the Node Slack SDK

Latest version **3.2.0** (published 2026-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @slack/types
pnpm add @slack/types
yarn add @slack/types
bun add @slack/types
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2026-09-30 |
| First published | 2019-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 20 |
| Dependencies | 0 |
| Unpacked size | 259.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3380 |
| Author | Slack Technologies, LLC |
| Maintainers | slackhq, ajm, sgorbach0v, stevegill, slack_biztech, misscoded, mwbrooks, cchensh, sspencer-slack, evegeris, e-zim, farhanjk |
| Keywords | slack, typescript, types, api |

## Links

- npm: https://www.npmjs.com/package/@slack/types
- Repository: https://github.com/slackapi/node-slack-sdk
- Homepage: https://docs.slack.dev/tools/node-slack-sdk/reference/types/
- Issues: https://github.com/slackapi/node-slack-sdk/issues
- npm.io page: https://npm.io/package/@slack/types

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 3.2.0 (latest) — 2026-09-30
- 3.0.0-rc.2 (rc) — 2026-07-13
- 2.15.0-featWorkObjectsBeta.2 (feat-work-objects) — 2025-04-10
- 3.1.0 — 2026-08-27
- 3.0.0 — 2026-07-14
- 2.22.0 — 2026-07-02
- 3.0.0-rc.1 — 2026-05-13
- 2.21.1 — 2026-05-07
- 2.21.0 — 2026-05-04
- 2.20.1 — 2026-03-13
- 2.20.0 — 2026-02-10
- 2.19.0 — 2025-11-21
- 2.18.0 — 2025-10-23
- 2.17.0-featWorkObjectsBeta.4 — 2025-10-22
- 2.17.0-featWorkObjectsBeta.3 — 2025-10-16
- … 42 more at https://npm.io/package/@slack/types/versions

## README

# Slack Types

The `@slack/types` package is intended to be used as a central location for modeling Slack interfaces, types, payloads
and constructs of all kinds.

## Requirements

This package supports Node v20 and higher. It's highly recommended to use [the latest LTS version of
node](https://github.com/nodejs/Release#release-schedule), and the documentation is written using syntax and features
from that version.

## Installation

```shell
$ npm install @slack/types
```

## Usage

This package exports many different types and interfaces. It is best to peruse the source code to see what is
available, but a brief list:

- Block Kit blocks and elements (`./src/block-kit/*`)
- Message attachments (`./src/message-attachments.ts`)

## Getting Help

If you get stuck, we're here to help. The following are the best ways to get assistance working through your issue:

  * [Issue Tracker](http://github.com/slackapi/node-slack-sdk/issues) for questions, feature requests, bug reports and
    general discussion related to this package. Try searching before you create a new issue.
  * [Email us](mailto:developers@slack.com) in Slack developer support: `developers@slack.com`

---
_Source: https://npm.io/package/@slack/types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
