Skip to content

Commit

Permalink
book: add JavaScript packages
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Dec 16, 2023
1 parent 246af41 commit d23d7bb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Check the example in the [`embedded/`](./crates/nostr/examples/embedded/) direct
* Python: https://pypi.org/project/nostr-sdk
* Kotlin: [`io.github.rust-nostr:nostr-sdk`](https://central.sonatype.com/artifact/io.github.rust-nostr/nostr-sdk/)
* Swift: https://github.com/rust-nostr/nostr-sdk-swift
* JavaScript: TODO
* JavaScript: https://www.npmjs.com/package/@rust-nostr/nostr-sdk

## State

Expand Down
6 changes: 6 additions & 0 deletions book/src/protocol/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
from nostr_protocol import *
```

=== "JavaScript"

```bash
npm i @rust-nostr/nostr
```

=== "Kotlin"

To use the Kotlin language bindings for `nostr` in your Android project add the following to your gradle dependencies:
Expand Down
6 changes: 6 additions & 0 deletions book/src/sdk/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
pip install nostr-sdk
```

=== "JavaScript"

```bash
npm i @rust-nostr/nostr-sdk
```

=== "Kotlin"

To use the Kotlin language bindings for `nostr-sdk` in your Android project add the following to your gradle dependencies:
Expand Down

0 comments on commit d23d7bb

Please sign in to comment.