UNPKG

nostr-nsec-seedphrase

Version:

A comprehensive TypeScript library for Nostr key management with BIP39 seed phrases, supporting both ESM and CommonJS. Implements NIP-01, NIP-06, NIP-19, and NIP-26 with key generation, event signing, bech32 encoding/decoding, and secure cryptographic ope

8 lines (7 loc) 320 B
/** * @module types * @description Type definitions for the nostr-nsec-seedphrase library */ export type { NostrEvent, ValidationResult } from "./events.js"; export type { KeyPair, PublicKeyDetails } from "./keys.js"; export type Nip19DataType = "npub" | "nsec" | "note" | "nprofile" | "nevent" | "naddr" | "nrelay";