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) 939 B
export { chunk } from '../universal/array/index.js'; export { randomStringWithFixedLength } from '../universal/string/index.js'; export { clamp, convertToInt, convertToTwoDecimalInt, inRange, randomNumberWithFixedLength } from '../universal/number/index.js'; export { TSleepParams, TSleepReturn, sleep, sleepMinutes, sleepMs, sleepSeconds, sleepUntil } from '../universal/sleep/index.js'; export { convertToSeconds, getUnixTimestamp, getUnixTimestampMs } from '../universal/time/index.js'; export { EnvironmentError, assertBrowserEnvironment, assertNodeEnvironment, getEnvironment, isBrowserEnvironment, isNodeEnvironment, isWebWorkerEnvironment } from '../universal/utils/index.js'; export { Prettify } from '../universal/types/index.js'; export { capitalize, capitalizeWords, convertCamelToNormalCapitalized } from '../universal/string/capitalize.js'; export { TruncateTextOptions, truncateText } from '../universal/string/truncate.js';