UNPKG

who-asked

Version:

A tiny package to deliver sarcastic replies, memes, or GIFs for when no one asked — but your product still has to say something.

24 lines (19 loc) 632 B
interface Media { uri: string; tags: string[]; height: number; width: number; type: string; } interface Text { text: string; context: string[]; } declare const getRandomText: () => Text; declare const getRandomImage: () => Media; declare const getRandomGif: () => Media; declare const text: (params: string[]) => Text; declare const image: (params: string[]) => Media; declare const gif: (params: string[]) => Media; declare const whoAsked: (type: string, params?: string[]) => Text | Media; export { type Media, type Text, getRandomGif, getRandomImage, getRandomText, gif, image, text, whoAsked };