By using META
category you can interact with the custom providers. And get access to the meta providers methods.
// ESM
import { META } from '@consumet/extensions';
// <providerName> is the name of the provider you want to use. list of the proivders is below.
const metaProvider = META.<providerName>();
provider Anilist {
languages
- string, the language of the current provider, return language code, example: languages: 'en'
isNSFW
- bool, true
if the provider providers NSFW content.
isWorking
- bool, a bool to identify the state of the current provider, true
if the provider is working, false
otherwise.
isDubAvailableSeparately
- bool, true
if the provider providers dubbed content.
name
- string, the name of the current provider, example: name: 'Anilist'
baseUrl
- string, url to the base URL of the current provider
logo
- string, url to the logo image of the current provider
classPath
- string,
This list is in alphabetical order. (except the sub bullet points)