Module @fuman/utils

fuman

fuman (jp. 不満) - dissatisfaction; discontent; displeasure; complaint; unhappiness

this repository is a collection of packages that were made because any existing packages did not meet my requirements or otherwise sucked. basically a collection of utilities for my own use, though feel free to use, contribute and leave feedback if you find them any useful :>

Warning

everything in this repo is very much a wip and is not really ready for public use

good luck. api reference

Namespaces

base64
bigint
hex
iter
timers
typed
u8
utf8

Classes

AggregateError
AsyncInterval
AsyncLock
AsyncQueue
AsyncResource
ConditionVariable
CustomMap
CustomSet
Deferred
Deque
Emitter
LruMap
LruSet
NotImplementedError

Interfaces

AsyncPoolOptions
AsyncResourceContext
AsyncResourceOptions
DeepMergeOptions
DequeOptions

Type Aliases

AnyFunction
AnyToNever
Brand
ComposedMiddleware
DeepMerge
LastOfUnion
MaybeArray
MaybePromise
MergeInsertions
Middleware
Simplify
Truthy
TypedArray
TypesEqual
UnionToIntersection
UnionToTuple
UnsafeMutable
Values

Functions

asNonNull
assert
assertEndsWith
assertMatches
assertNonNull
assertStartsWith
asyncPool
clearUndefined
composeMiddlewares
deepMerge
isBigInt
isBoolean
isFalsy
isFunction
isNotNull
isNotUndefined
isNumber
isObject
isString
isSymbol
isTruthy
noop
notImplemented
objectEntries
objectKeys
parallelMap
sleep
splitOnce
unknownToError

References

todo → notImplemented