diff --git a/README.md b/README.md index d5932ecf7..3af1aa065 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/book/src/protocol/02-installation.md b/book/src/protocol/02-installation.md index 34f8db66a..3267a6551 100644 --- a/book/src/protocol/02-installation.md +++ b/book/src/protocol/02-installation.md @@ -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: diff --git a/book/src/sdk/02-installation.md b/book/src/sdk/02-installation.md index f0a42f615..98a555270 100644 --- a/book/src/sdk/02-installation.md +++ b/book/src/sdk/02-installation.md @@ -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: