@subsocial/utils
Version:
JavaScript utils for Subsocial blockchain.
8 lines (7 loc) • 321 B
TypeScript
/** Parse plain text to markdown with resolved twitter links (hashtag and mention) */
export declare const parseTwitterTextToMarkdown: (text: string) => string;
/** Create twitter url with given username and tweet id */
export declare const createTwitterURL: (tweet: {
username: string;
id: string;
}) => string;