nostr-web-components
Version:
collection of web components that provide quick access to basic nostr things
9 lines (8 loc) • 586 B
TypeScript
export declare function debounce(fn: (...args: any[]) => void, wait?: number): (...args: any[]) => void;
export declare function nostrLink(code: string): string;
export declare function relayLink(url: string): string;
export declare const transparentPixel = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
export declare function handleImageError(ev: any): void;
export declare function splitComma(value: string | null): string[];
export declare function shorten(nip19code: string): string;
export declare function shortenURL(url: string): string;