Skip to content
daprPublic

About

Dapr SDK for Javascript

Topics

Resources

Code of conduct

Stars

217 stars

Watchers

23 watching

Forks

Repository files navigation

Dapr SDK for JavaScript

NPM Version NPM Downloads GitHub Actions Workflow Status codecov GitHub License GitHub issue custom search in repo Discord YouTube Channel Views X (formerly Twitter) Follow

The official Dapr SDK for JavaScript and TypeScript, covering durable workflows, actors, pub/sub, state, jobs and more.

Getting Started

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/dapr

Documentation

Visit https://docs.dapr.io/developing-applications/sdks/js/ to view the full documentation.

Building blocks

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

Community

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.

Contributing

Please see our Contributing Overview.

Good First Issues

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.

Code of conduct

Please see CODE_OF_CONDUCT.md.

About

Dapr SDK for Javascript

Topics

Resources

Code of conduct

Stars

217 stars

Watchers

23 watching

Forks

Releases

Packages

Used by

Contributors

Languages