Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ npm install --save @dapr/dapr-dev

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

## Installation Analytics

`@dapr/dapr` includes [`@scarf/scarf`](https://github.com/scarf-sh/scarf-js), which reports basic, anonymized install information (operating system, package name and version) to help Dapr maintainers understand SDK adoption. It only runs at install time — there is no runtime footprint and no data collection after installation. Scarf uses the request IP for company-level aggregation and does not store it.

To opt out, set either environment variable before installing:

```bash
export SCARF_ANALYTICS=false
# or
export DO_NOT_TRACK=1
```

or add the following to your project's `package.json`:

```json
"scarfSettings": { "enabled": false }
```

## Community

There are multiple ways to get involved with the SDK community, please see [wiki/Community-engagement](https://github.com/dapr/js-sdk/wiki/Community-engagement) for more information.
Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
"keywords": [],
"author": "Dapr Authors",
"license": "apache-2.0",
"scarfSettings": {
"defaultOptIn": true,
"allowTopLevel": false
},
"dependencies": {
"@bufbuild/protobuf": "^2.9.0",
"@connectrpc/connect": "^2.1.0",
Expand All @@ -62,6 +66,7 @@
"@dapr/durabletask-js": "^1.0.0",
"@grpc/grpc-js": "^1.12.5",
"@js-temporal/polyfill": "^0.3.0",
"@scarf/scarf": "^1.4.0",
"@types/google-protobuf": "^3.15.5",
"@types/node-fetch": "^2.6.2",
"body-parser": "^1.19.0",
Expand Down
Loading