@cutls/megalodon
Version:
Mastodon, Pleroma, Misskey API client for node.js and browser
12 lines (11 loc) • 365 B
TypeScript
type SupportedSNS = 'mastodon' | 'pleroma' | 'misskey';
export declare const detector: (url: string) => Promise<SupportedSNS>;
type GetData = {
url: string;
compatibleSns: SupportedSNS;
softwareName: string;
version: string;
semanticVersionCompatibleNumber: string;
};
export declare const getData: (url: string) => Promise<GetData>;
export {};