The official Dapr SDK for JavaScript and TypeScript, covering durable workflows, actors, pub/sub, state, jobs and more.
Instantly get started by installing the Dapr JS SDK and reading the getting started documentation or follow one of the quickstarts
npm install --save @dapr/daprVisit https://docs.dapr.io/developing-applications/sdks/js/ to view the full documentation.
The SDK implements the following Dapr building blocks:
- Service invocation: call methods on other Dapr applications. Docs
- State management: key/value state with transactions. Docs
- Publish & subscribe: publish messages and subscribe to topics, including streaming subscriptions. Docs
- Workflows: durable, long-running orchestrations of activities, timers and external events that resume after a crash or restart. Docs
- Bindings: trigger and be triggered by external systems. Docs
- Actors: virtual actors with timers and reminders. Docs
- Secrets: read secrets from a secret store. Docs
- Configuration: read and subscribe to configuration items. Docs
- Distributed lock: acquire and release locks on shared resources. Docs
- Cryptography: encrypt and decrypt data without exposing keys to the application. Docs
- Jobs: schedule jobs that the Dapr runtime triggers. Docs
- Conversation: send prompts to LLM providers through a common API. Docs
- Binary store (Alpha, Dapr 1.19+): upload, stream and delete binary files. Docs
- Vector (Alpha, Dapr 1.19+): store dense, pre-embedded vectors and run similarity queries. Docs
- Search (Alpha, Dapr 1.19+): manage indexes and documents and run lexical or native queries. Docs
There are multiple ways to get involved with the SDK community, please see wiki/Community-engagement for more information.
The Dapr community can be found on Discord, where you can ask questions, propose features, and share your thoughts.
Please see our Contributing Overview.
We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
Please see CODE_OF_CONDUCT.md.