@alessiofrittoli/web-utils
Version:
Common TypeScript web utilities
19 lines (18 loc) • 1.7 kB
TypeScript
export { getMediaMatches } from './browser-api/media-queries.js';
export { OpenBrowserPopUpOptions, WindowFeatures, openBrowserPopUp } from './browser-api/popup.js';
export { isPortrait, portraitMediaQuery } from './device/index.js';
export { Cookie, ParsedCookie, ParsedCookieMap, Priority, RawCookie, SameSite } from './storage/Cookie.js';
export { LocalStorage } from './storage/LocalStorage.js';
export { SessionStorage } from './storage/SessionStorage.js';
export { ChunkIntoOptions, arrayObjectUnique, arrayUnique, chunkInto, listToArray } from './arrays.js';
export { downloadBlob } from './blob.js';
export { blockScroll, restoreScroll } from './dom.js';
export { isAsyncGeneratorFunction, isAsyncGeneratorObject, isDefaultGeneratorFunction, isDefaultGeneratorObject, isGeneratorFunction, isGeneratorObject } from './generators.js';
export { TypedMap, getTypedMap } from './map.js';
export { cloneObject, filterObject, getObjectKey, mapToObject } from './objects.js';
export { DeferredTask, deferCallback, deferTask, sleep } from './promises.js';
export { escapeRegExpCharSet } from './regex.js';
export { addLeadingCharacter, addTrailingCharacter, lcFirst, parseValue, removeLeadingCharacter, removeTrailingCharacter, stringifyValue, toCamelCase, toKebabCase, ucFirst } from './strings.js';
export { isArray, isAsyncFunction, isDev, isEmptyArray, isEmptyObject, isJson, isNodeElement, isNodeList, isObject, isPromise, isString, isTest, isTouchDevice, isTouchEvent } from './types.js';
export { isEmpty, isGreaterThan, isInRange, isLessThan, isNotEmpty, isSQLStatement, isStrictEqual, isValidEmail, isValidPhoneNumber, isValidVat } from './validation.js';
import '@alessiofrittoli/url-utils';