Collection of JavaScript and Typescript utilities.
- API is still unstable, so use with care.
- Only currently exports as an ES module, I currently do not need a commonjs export. Should you need one, you can open an issue, an I can look into it.
For npm
npm install softkave-js-utils
For yarn
yarn add softkave-js-utils
-
array
-
error
-
function
-
id
-
logger
-
number
-
object
-
other
-
promise
-
string
-
testing
constants
AnyObject
ConvertT1ToT2Deep
ConvertDateToStringDeep
AnyFn
AnyAsyncFn
EmptyObject
ClassConstructor
AbstractClassConstructor
PartialRecord
InferTypeFromArray
InvertRecord
DefaultTo
StringKeysOnly
OrArray
OrPromise
OmitFrom
IsUnion
UnionToTuple
IsStringEnum
Not
IsBoolean