@welshman/util
A comprehensive utility package for Nostr application development, providing essential tools and types for working with Nostr events, addresses, profiles, and more.
What's Included
- Event Management: Create, validate, and process Nostr events
- Repository: In-memory event storage with querying and indexing
- Filters: Advanced event filtering and subscription management
- Profiles: User profile handling and formatting
- Lists: Public and private list management
- Zaps: Lightning Network payment integration
- Tags: Comprehensive tag parsing and manipulation
- Addresses: NIP-19 address handling
- Relays: Relay URL handling, event dispatching and in-memory storage
Installation
npm install @welshman/util