react-substack
Version:
Read any Substack newsletter with React
8 lines (7 loc) • 307 B
TypeScript
import type { Substack } from './parser/types';
export declare const proxyUrl: (subdomain: string) => string;
/**
* Get the raw XML feed for any substack
*/
export declare const getFeed: (url: string) => Promise<string>;
export declare const getAndParseSubstack: (subdomain: string) => Promise<Substack>;