Represents a site, mostly used for JSDoc

Constructors

Properties

aliases: string[]

The aliases of this site

api: default

An object representing the api of this site

defaultTags: string[]

Tags to add to every request, if not included

domain: string

The domain of the Site (the "google.com" part of "https://google.com/foo")

insecure: boolean

If this site supports only http://

nsfw: boolean

If this site serves NSFW posts or not

paginate: string

The url query param to paginate on the site

random: string | boolean

If the site supports order:random. If a string, this means a custom random system is used :/

tagJoin: string

The character to use to join tags when creating the search url

tagQuery: string

The url query param for tags

type: string

The type of this site (json/xml/derpi)