1
0
Fork 0
js-utils/src/index.ts

93 lines
1.6 KiB
TypeScript

export { ChildProcessError } from './error/ChildProcessError';
export { InvalidArgumentError } from './error/InvalidArgumentError';
export { MissingKeyError } from './error/MissingKeyError';
export { NotFoundError } from './error/NotFoundError';
export { NotImplementedError } from './error/NotImplementedError';
export { TimeoutError } from './error/TimeoutError';
export {
ArrayMapper,
ArrayMapperOptions,
} from './ArrayMapper';
export {
defer,
timeout,
} from './Async';
export {
concat,
encode,
} from './Buffer';
export {
Checklist,
ChecklistMode,
ChecklistOptions,
} from './Checklist';
export {
ChildOptions,
ChildResult,
ChildSpawner,
waitForChild,
writeValue,
} from './Child';
export { ExternalModule, ModuleCtor } from './ExternalModule';
export { isDebug } from './Env';
export {
ensureArray,
hasItems,
lengthOf,
mergeArrays,
} from './Array';
export {
getTestLogger,
spyLogger,
} from './Logger';
export {
Dict,
MapLike,
entriesOf,
getHead,
getHeadOrDefault,
getOrDefault,
makeDict,
makeMap,
mergeMap,
mustGet,
normalizeMap,
pairsToMap,
pushMergeMap,
setOrPush,
} from './Map';
export {
Maybe,
None,
defaultWhen,
doesExist,
isNone,
isSome,
mustCoalesce,
mustDefault,
mustExist,
mustFind,
removeNone,
} from './Maybe';
export {
Nil,
Optional,
isNil,
} from './Optional';
export {
constructorName,
getConstructor,
getMethods,
} from './Reflect';
export {
SIGNAL_RELOAD,
SIGNAL_RESET,
SIGNAL_STOP,
signal,
} from './Signal';
export {
leftPad,
trim,
} from './String';