From cb29d620331788a955af53e2f4e104ff7d391c5f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 31 Oct 2024 16:31:17 -0300 Subject: [PATCH] add links to jsr.io --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8778cd1..5baf784 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ![](https://img.shields.io/github/actions/workflow/status/nbd-wtf/nostr-tools/test.yml) nostr-tools +# ![](https://img.shields.io/github/actions/workflow/status/nbd-wtf/nostr-tools/test.yml) [![JSR](https://jsr.io/badges/@nostr/tools)](https://jsr.io/@nostr/tools) nostr-tools Tools for developing [Nostr](https://github.com/fiatjaf/nostr) clients. @@ -9,11 +9,19 @@ This package is only providing lower-level functionality. If you want more highe ## Installation ```bash - npm install nostr-tools # or yarn add nostr-tools +# npm +npm install --save nostr-tools + +# jsr +npx jsr add @nostr/tools ``` If using TypeScript, this package requires TypeScript >= 5.0. +## Documentation + +https://jsr.io/@nostr/tools/doc + ## Usage ### Generating a private key and a public key