@tiktikimelbo7/extensions
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.
22 lines (21 loc) • 1.36 kB
TypeScript
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 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("cheerio").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;