UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

9 lines (8 loc) 889 B
import arraySortPositions from '../../legacy/libs/arraySortPositions.mjs'; import asyncReplace from '../../legacy/libs/replaceAsync.mjs'; import { shuffleArray } from './array.mjs'; import { formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration } from './clock.mjs'; import { countObj, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, objType, isJsonObject, } from './objFilter.mjs'; import { formatBytes, getAge, getSimplePerc, ruleOfThree } from './simpleMath.mjs'; import { addAiMarkerShortcut, toTitleCase, toTitleCaseLowerFirst } from './text.mjs'; export { isJsonObject, arraySortPositions, formatBytes, addAiMarkerShortcut, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst, };