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