urban-scraper
Version:
A package for scraping terms and their definitions from the [Urban Dictionary](https://www.urbandictionary.com/).
22 lines (20 loc) • 339 B
text/typescript
export interface Term {
found: boolean;
term: string;
id?: number;
url?: string;
description?: string;
example?: string;
createdAt?: Date;
author?: {
name: string;
url: string;
};
thumbs?: {
up: number;
down: number;
};
}
export interface Options {
formatMarkdown?: boolean;
}