nostr-websocket-utils v0.3.0
nostr-websocket-utils / decodePubkey
decodePubkey(npub): string
npub
string
Decode a bech32 npub to hex pubkey
nips/nip-19.ts:40