The documentation you are viewing is for Dapr v1.4 which is an older version of Dapr. For up-to-date documentation, see the latest version.

JavaScript

The Dapr JS SDK will allow you to interface with the Dapr process that abstracts several commonly used functionalities such as Service-to-Service invocation, State Management, PubSub, and more.

Client

Create a JavaScript client and interact with a Dapr sidecar and other Dapr applications.

Examples

Clone the JavaScript SDK repo and try out some of the examples and get started quickly.

Available packages

  • DaprClient is a package that for how your application interacts with the Dapr sidecar, or other Dapr powered applications.

  • DaprServer is a package for how the Dapr sidecar interacts with your application, forwarding event subscriptions, invokes and more.