blogtraversy
Version:
A package that helps you to fetch all the blogs from Medium and Hashnode
7 lines (6 loc) • 348 B
TypeScript
import { UsernameConfig } from "./types/UserNameConfig";
export declare const getBlogs: (type: 'medium' | 'hashnode' | 'all', username: UsernameConfig) => Promise<import("./types").BlogPostConfig[] | {
mediumArticles: import("./types").BlogPostConfig[];
hashnodePosts: import("./types").BlogPostConfig[];
}>;
export * from './types';