lazy-js-utils
Version:
A collection of lazy-loaded JavaScript utilities for efficient development
3 lines (2 loc) • 9.08 kB
text/typescript
import { BodyType, Cache, Canvas, ChunkDetail, ChunkInfo, CreateSignatureCanvas, Credentials, DYNAMIC_IMPORT_RE, DateString, Deadline, DeviceType, Direction, DotImageCanvas, DotImageCanvasOptions, DotTextCanvas, DotTextCanvasOptions, DragEvent, ESM_STATIC_IMPORT_RE, EXPORT_DECAL_RE, EXPORT_DEFAULT_RE, EXPORT_NAMED_RE, EXPORT_STAR_RE, EventBus, FileChunk, FileMD5, FileSpliceOptions, FileType, HeadOptions, HybridMap, IFetchConfig, IFetchInterceptors, IFetchOptions, ILink, IMeta, IScript, IShellMessage, ISignature, ImageData, IsESModule, JSCookie, LRU, Lang, Line, MaybeElement, Merge, Method, Mode, MutationObserverInit, NodeWorkerPayload, ParsedURL, PkgTool, Point, Position, Redirect, ResponseType, SpeechOptions, SpeechResult, SpeechToTextOptions, Square, TimeUnit, TrimType, UseTimeoutReturn, VFetch, _toString, addClass, addLink, addRules, addScript, addStyle, addStyleScoped, arrayToExcel, arrayToTree, assign, asyncPool, backIn, backInOut, backOut, base64ToBlob, base64ToFile, beforeUnmount, blobToUrl, bounceIn, bounceInOut, bounceOut, calFps, calNum, camelize, catchAwait, chainFns, chunk, circIn, circInOut, circOut, classesReg, collisionDetection, compareDate, compareDateTime, compareTime, compareVersion, compressCss, compressImage, copy, countBy, createCalendar, createChannel, createChunk, createElement, createEventBus, createFragment, createHybridMap, createTextNode, cubicIn, cubicInOut, cubicOut, curry, dbStorage, debounce, debugWarn, deepClone, deepCompare, deepMerge, diff, download, dragEvent, elasticIn, elasticInOut, elasticOut, escapeHtml, escapeRegExp, executeStr, exitFullscreen, expoIn, expoInOut, expoOut, fileSplice, fileToArrayBuffer, fileToBase64, fileToBlob, filterEmpty, findElement, findMatchEndOffset, findMatchStartOffset, flatten, forEach, formateDate, formateNum, fullScreen, generateKeyObject, generateQRCode, getAverage, getClasses, getCssVar, getDateList, getDaysOfMonth, getDevice, getDifferenceDays, getFirstDay, getImageData, getLocation, getLru, getScrollPosition, getScrollProgress, getStyles, getUrlParam, getVideoFrame, globalErrorCapture, handleImageError, hasClassName, hasOwn, hasProtocol, hash, hexToRgb, htmlTransform, httpsRedirect, hyphenate, insertElement, interceptError, isAbsolute, isActive, isArray, isBase64, isBlob, isBool, isBottom, isBrowser, isComment, isContainCn, isDate, isDef, isDivElement, isESModule, isElement, isEqual, isEven, isFalse, isFile, isFileType, isFn, isIFrameElement, isIPv4, isIPv6, isIdCard, isImageElement, isLeapYear, isMap, isMobile, isNaN, isNameCn, isNameEn, isNil, isNode, isNull, isNum, isObject, isPlainObject, isPostCode, isPromise, isProxyDocument, isReg, isRelative, isSameDay, isScriptElement, isSet, isShadowRoot, isSocketUrl, isSoldierId, isStr, isStyleElement, isSupportCamera, isSupportWebp, isSymbol, isTrainNumber, isTrue, isType, isUndef, isUrl, isVersion, isVideo, isVue, isWeakMap, isWeakSet, isWin, jsCookie, jsLocal, jsSession, lazyLoad, listenStack, log, mapToObject, mapTransform, mapTransformBack, memorizeFn, monitorPef, mount, multiply, nextTick, noop, noopFalse, objectToMap, once, parallel, parse, parseCss, parseLrc, parsePath, parseTime, parseURL, picInPic, postMessage, prefetch, preload, promiseFinally, pwdLevel, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quickFilter, quickFind, quintIn, quintInOut, quintOut, randomArray, randomDate, randomHexColor, randomRange, randomRgba, reduceAsync, removeClass, removeElement, removeRoundSpace, removeStyle, replaceAsync, retryAsync, rgbToHex, scrollToTop, scrollToView, sendBeacon, sendStorage, setCssVar, setStyle, shareScreen, sineIn, sineInOut, sineOut, singleModel, sleep, sliderValidation, sort, sortByOrder, spaceFormat, speech, speechToText, streamToUrl, stringify, stylesReg, throttle, throwError, timeCost, timeout, toAbsolutePath, toArray, toBase64, toObject, toSlice, transformKey, transformWithBack, traverse, treeToArray, trim, unConfig, unescapeHtml, uniqueArray, unmount, updateDetection, uppercaseNum, urlToBase64, useAudio, useBlur, useCamera, useClick, useElementBounding, useEventListener, useFocus, useFrequency, useHead, useHover, useIntersectionObserver, useInterval, useJSONParse, useKeyBoard, useLongPress, useMouse, useMutationObserver, useNamespace, useNumberAnimation, useRaf, useRange, useReader, useRecorder, useResizeObserver, useRic, useServiceWorker, useShare, useSocket, useStorageListen, useSwitch, useSystemColor, useTimeout, useVideo, useVideoSubtitle, useWebWorker, useWindowScroll, uuid, waterfall } from "./index.d-CnYtmGhw.cjs";
export { BodyType, Cache, Canvas, ChunkDetail, ChunkInfo, CreateSignatureCanvas, Credentials, DYNAMIC_IMPORT_RE, DateString, Deadline, DeviceType, Direction, DotImageCanvas, DotImageCanvasOptions, DotTextCanvas, DotTextCanvasOptions, DragEvent, ESM_STATIC_IMPORT_RE, EXPORT_DECAL_RE, EXPORT_DEFAULT_RE, EXPORT_NAMED_RE, EXPORT_STAR_RE, EventBus, FileChunk, FileMD5, FileSpliceOptions, FileType, HeadOptions, HybridMap, IFetchConfig, IFetchInterceptors, IFetchOptions, ILink, IMeta, IScript, IShellMessage, ISignature, ImageData, IsESModule, JSCookie, LRU, Lang, Line, MaybeElement, Merge, Method, Mode, MutationObserverInit, NodeWorkerPayload, ParsedURL, PkgTool, Point, Position, Redirect, ResponseType, SpeechOptions, SpeechResult, SpeechToTextOptions, Square, TimeUnit, TrimType, UseTimeoutReturn, VFetch, _toString, addClass, addLink, addRules, addScript, addStyle, addStyleScoped, arrayToExcel, arrayToTree, assign, asyncPool, backIn, backInOut, backOut, base64ToBlob, base64ToFile, beforeUnmount, blobToUrl, bounceIn, bounceInOut, bounceOut, calFps, calNum, camelize, catchAwait, chainFns, chunk, circIn, circInOut, circOut, classesReg, collisionDetection, compareDate, compareDateTime, compareTime, compareVersion, compressCss, compressImage, copy, countBy, createCalendar, createChannel, createChunk, createElement, createEventBus, createFragment, createHybridMap, createTextNode, cubicIn, cubicInOut, cubicOut, curry, dbStorage, debounce, debugWarn, deepClone, deepCompare, deepMerge, diff, download, dragEvent, elasticIn, elasticInOut, elasticOut, escapeHtml, escapeRegExp, executeStr, exitFullscreen, expoIn, expoInOut, expoOut, fileSplice, fileToArrayBuffer, fileToBase64, fileToBlob, filterEmpty, findElement, findMatchEndOffset, findMatchStartOffset, flatten, forEach, formateDate, formateNum, fullScreen, generateKeyObject, generateQRCode, getAverage, getClasses, getCssVar, getDateList, getDaysOfMonth, getDevice, getDifferenceDays, getFirstDay, getImageData, getLocation, getLru, getScrollPosition, getScrollProgress, getStyles, getUrlParam, getVideoFrame, globalErrorCapture, handleImageError, hasClassName, hasOwn, hasProtocol, hash, hexToRgb, htmlTransform, httpsRedirect, hyphenate, insertElement, interceptError, isAbsolute, isActive, isArray, isBase64, isBlob, isBool, isBottom, isBrowser, isComment, isContainCn, isDate, isDef, isDivElement, isESModule, isElement, isEqual, isEven, isFalse, isFile, isFileType, isFn, isIFrameElement, isIPv4, isIPv6, isIdCard, isImageElement, isLeapYear, isMap, isMobile, isNaN, isNameCn, isNameEn, isNil, isNode, isNull, isNum, isObject, isPlainObject, isPostCode, isPromise, isProxyDocument, isReg, isRelative, isSameDay, isScriptElement, isSet, isShadowRoot, isSocketUrl, isSoldierId, isStr, isStyleElement, isSupportCamera, isSupportWebp, isSymbol, isTrainNumber, isTrue, isType, isUndef, isUrl, isVersion, isVideo, isVue, isWeakMap, isWeakSet, isWin, jsCookie, jsLocal, jsSession, lazyLoad, listenStack, log, mapToObject, mapTransform, mapTransformBack, memorizeFn, monitorPef, mount, multiply, nextTick, noop, noopFalse, objectToMap, once, parallel, parse, parseCss, parseLrc, parsePath, parseTime, parseURL, picInPic, postMessage, prefetch, preload, promiseFinally, pwdLevel, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quickFilter, quickFind, quintIn, quintInOut, quintOut, randomArray, randomDate, randomHexColor, randomRange, randomRgba, reduceAsync, removeClass, removeElement, removeRoundSpace, removeStyle, replaceAsync, retryAsync, rgbToHex, scrollToTop, scrollToView, sendBeacon, sendStorage, setCssVar, setStyle, shareScreen, sineIn, sineInOut, sineOut, singleModel, sleep, sliderValidation, sort, sortByOrder, spaceFormat, speech, speechToText, streamToUrl, stringify, stylesReg, throttle, throwError, timeCost, timeout, toAbsolutePath, toArray, toBase64, toObject, toSlice, transformKey, transformWithBack, traverse, treeToArray, trim, unConfig, unescapeHtml, uniqueArray, unmount, updateDetection, uppercaseNum, urlToBase64, useAudio, useBlur, useCamera, useClick, useElementBounding, useEventListener, useFocus, useFrequency, useHead, useHover, useIntersectionObserver, useInterval, useJSONParse, useKeyBoard, useLongPress, useMouse, useMutationObserver, useNamespace, useNumberAnimation, useRaf, useRange, useReader, useRecorder, useResizeObserver, useRic, useServiceWorker, useShare, useSocket, useStorageListen, useSwitch, useSystemColor, useTimeout, useVideo, useVideoSubtitle, useWebWorker, useWindowScroll, uuid, waterfall };