UNPKG

advanced-js-kit

Version:

Modern TypeScript utility library with tree-shaking support - Array, String, Number, Network, Sleep, and JWT utilities for JavaScript and TypeScript projects

10 lines (9 loc) 948 B
export { chunk } from '../universal/array/index.cjs'; export { randomStringWithFixedLength } from '../universal/string/index.cjs'; export { clamp, convertToInt, convertToTwoDecimalInt, inRange, randomNumberWithFixedLength } from '../universal/number/index.cjs'; export { TSleepParams, TSleepReturn, sleep, sleepMinutes, sleepMs, sleepSeconds, sleepUntil } from '../universal/sleep/index.cjs'; export { convertToSeconds, getUnixTimestamp, getUnixTimestampMs } from '../universal/time/index.cjs'; export { EnvironmentError, assertBrowserEnvironment, assertNodeEnvironment, getEnvironment, isBrowserEnvironment, isNodeEnvironment, isWebWorkerEnvironment } from '../universal/utils/index.cjs'; export { Prettify } from '../universal/types/index.cjs'; export { capitalize, capitalizeWords, convertCamelToNormalCapitalized } from '../universal/string/capitalize.cjs'; export { TruncateTextOptions, truncateText } from '../universal/string/truncate.cjs';