22 lines
504 B
Markdown
22 lines
504 B
Markdown
# @welshman/relay
|
|
|
|
[](https://npmjs.com/package/@welshman/relay)
|
|
|
|
Core networking layer for nostr applications, handling relay connections, message management, and event delivery.
|
|
|
|
## What's Included
|
|
|
|
- **Event Store** - A Repository class which stores events in memory
|
|
- **Relay Adapter** - A LocalRelay class which adapts nostr messages to the repository
|
|
|
|
## Quick Example
|
|
|
|
```typescript
|
|
```
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install @welshman/relay
|
|
```
|