doc: add installation instructions

This commit is contained in:
Roland Bewick
2023-02-16 20:57:29 +07:00
committed by fiatjaf
parent d13039dc11
commit 3a22dd3da6

View File

@@ -4,6 +4,13 @@ Tools for developing [Nostr](https://github.com/fiatjaf/nostr) clients.
Only depends on _@scure_ and _@noble_ packages.
## Installation
```bash
npm install nostr-tools # or yarn add nostr-tools
```
## Usage
### Generating a private key and a public key