UNPKG

consumet.custom

Version:

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

24 lines (23 loc) 1.5 kB
export declare const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"; export declare const days: string[]; export declare const ANIFY_URL = "https://anify.eltik.cc"; export declare const splitAuthor: (authors: string) => string[]; export declare const floorID: (id: string) => number; export declare const formatTitle: (title: string) => string; export declare const genElement: (s: string, e: string) => import("cheerio").Cheerio<import("domhandler").AnyNode> | undefined; export declare const range: ({ from, to, step, length }: { from?: number | undefined; to?: number | undefined; step?: number | undefined; length?: number | undefined; }) => number[]; export declare const capitalizeFirstLetter: (s: string) => string; export declare const getDays: (day1: string, day2: string) => number[]; export declare const isJson: (str: string) => boolean; export declare function convertDuration(milliseconds: number): string; export declare const compareTwoStrings: (first: string, second: string) => number; export declare const substringAfter: (str: string, toFind: string) => string; export declare const substringBefore: (str: string, toFind: string) => string; export declare const substringAfterLast: (str: string, toFind: string) => string; export declare const substringBeforeLast: (str: string, toFind: string) => string; export declare const getHashFromImage: (url: string) => "" | "hash";