@knighttower/utility
Version:
UtilityJs is a utility library that provides a collection of utility functions for various tasks. The library is designed to be easy to use and covers the most common use cases.
132 lines (130 loc) • 2.97 kB
JavaScript
// Single Modules and Aliases from: utility
import {
convertToBool,
convertToNumber,
currencyToDecimal,
dateFormat,
decimalToCurrency,
emptyOrValue,
isPlainObject,
extend,
formatPhoneNumber,
makeArray,
uuid,
uniqueId,
getDynamicId,
getRandomId,
dynamicId,
randomId,
getGoogleMapsAddress,
includes,
isEmpty,
isNumber,
instanceOf,
openGoogleMapsAddress,
toCurrency,
toDollarString,
typeOf,
validateEmail,
validatePhone,
} from './src/utility.js';
// Default Module from: urlHelper
import urlHelper from './src/urlHelper.js';
// Single Modules and Aliases from: proxyObject
import { proxyClass } from './src/proxyObject.js';
// Default Module from: proxyObject
import proxyObject from './src/proxyObject.js';
// Single Modules and Aliases from: promises
import { promiseQueue, doPoll, promisePool, doTimeout, doAsync } from './src/promises.js';
// Single Modules and Aliases from: powerHelper
import {
addQuotes,
cleanStr,
convertKeysToSymbols,
findAndReplaceInArray,
findNested,
fixQuotes,
getObjectFromPath,
getArrObjFromString,
getDirectivesFromString,
getMatchBlock,
getChunks,
getMatchInBetween,
removeQuotes,
startAndEndWith,
setExpString,
setLookUpExp,
setWildCardString,
wildCardStringSearch,
} from './src/powerHelper.js';
// Single Modules and Aliases from: ElementHelper
import { selectElement, elementHelper } from './src/ElementHelper.js';
// Default Module from: ElementHelper
import ElementHelper from './src/ElementHelper.js';
// Single Modules and Aliases from: domObserver
import { DomObserver } from './src/domObserver.js';
// Default Module from: domObserver
import domObserver from './src/domObserver.js';
// Default Module from: EventBus
import EventBus from './src/event-bus/EventBus.js';
export {
convertToBool,
convertToNumber,
currencyToDecimal,
dateFormat,
decimalToCurrency,
emptyOrValue,
isPlainObject,
extend,
formatPhoneNumber,
makeArray,
uuid,
uniqueId,
getDynamicId,
getRandomId,
dynamicId,
randomId,
getGoogleMapsAddress,
includes,
isEmpty,
isNumber,
instanceOf,
openGoogleMapsAddress,
toCurrency,
toDollarString,
typeOf,
validateEmail,
validatePhone,
urlHelper,
proxyClass,
proxyObject,
promiseQueue,
doPoll,
promisePool,
doTimeout,
doAsync,
addQuotes,
cleanStr,
convertKeysToSymbols,
findAndReplaceInArray,
findNested,
fixQuotes,
getObjectFromPath,
getArrObjFromString,
getDirectivesFromString,
getMatchBlock,
getChunks,
getMatchInBetween,
removeQuotes,
startAndEndWith,
setExpString,
setLookUpExp,
setWildCardString,
wildCardStringSearch,
selectElement,
elementHelper,
ElementHelper,
DomObserver,
domObserver,
EventBus,
};