UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

89 lines 3.85 kB
export default legacyModules; declare const legacyModules: { convertBytes: { list: any; sequence: string[]; get: (bytes: number, selected: SizeUnit) => number; convert: (bytes: number, selected: SizeUnit) => number; }; 'HTTP/1.0': { readonly list: { [x: number]: string; }; send: (res: import("express").Response, http_code: number, callback?: (arg0: number) => import("express").Response) => import("express").Response; sendAsync: (res: import("express").Response, http_code: number, callback?: (arg0: number) => Promise<any>) => Promise<any>; }; momentjs: typeof momentjs; checkDomain: { validators: { type: string; callback: (req: import("express").Request, the_domain: string) => string | boolean | string[] | null | undefined; }[]; validator: (req: import("express").Request, the_domain: string) => boolean; get: (req: import("express").Request) => string | true | string[] | null; }; getObjType: typeof objType; countObj: typeof countObj; httpAuth: typeof auth; replaceAsync: typeof replaceAsync; getUserIP: typeof userIp; superStringFilter: typeof super_string_filter; customModuleManager: { validator: (custom_modules: Record<string, any>, type: string) => boolean; run: (custom_modules: Record<string, Function> | Function[], db_prepare: any, hookType: string, options?: Record<string, any>) => Promise<void>; }; errorsCallback: typeof errorsCallback; domainValidator: typeof domainValidator; crypto: typeof crypto; pagination: typeof pagination; getDomainURL: typeof getDomainURL; dice: { vanilla: (obj: number) => number; getClientVanilla: (obj: number) => string; }; LevelUp: typeof LevelUp; getQueryUrlByName: typeof queryUrlByName; getQueryUrlJSON: typeof queryUrlJSON; getDecimalColor: typeof decimalColor; percentage: { run: (preco: number, porcentagem: number) => number; }; rule3: { getClient: () => string; execute: (val1: number, val2: number, val3: number, inverse: boolean) => number; }; versionCheck: typeof versionCheck; socketIO: { antiFlood: typeof import("./socket.io/antiFlood/index.mjs"); 'cookie-session': typeof import("./socket.io/cookie-session.mjs").default; discord: typeof import("./socket.io/discord.mjs").default; }; arraySortPositions: typeof arraySortPositions; capitalize: typeof capitalize; fetchJSON: typeof getJsonFetch; fetchText: typeof getTextFetch; csrfTokenAnalyze: typeof csrfTokenAnalyze; }; import * as momentjs from './momentjs/index.mjs'; import objType from './get/objType.mjs'; import countObj from './get/countObj.mjs'; import auth from './http/auth.mjs'; import replaceAsync from './libs/replaceAsync.mjs'; import userIp from './http/userIP.mjs'; import super_string_filter from './get/super_string_filter.mjs'; import errorsCallback from './http/errorsCallback.mjs'; import domainValidator from './http/domainValidator.mjs'; import * as crypto from './crypto/index.mjs'; import pagination from './get/pagination.mjs'; import getDomainURL from './http/getDomainURL.mjs'; import LevelUp from './libs/userLevel.mjs'; import queryUrlByName from './get/queryUrlByName.mjs'; import queryUrlJSON from './get/queryUrlJSON.mjs'; import decimalColor from './get/decimalColor.mjs'; import versionCheck from './get/versionCheck.mjs'; import arraySortPositions from './libs/arraySortPositions.mjs'; import capitalize from './libs/capitalize.mjs'; import getJsonFetch from './http/fetch/json.mjs'; import getTextFetch from './http/fetch/text.mjs'; import csrfTokenAnalyze from './http/csrfTokenAnalyze.mjs'; //# sourceMappingURL=index.d.mts.map