模块 @pandapro-project/webtools-utils - v0.1.0

webtools-utils

@pandapro-project:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=GITHUB_TOKEN
 pnpm add @pandapro-project/webtools-utils
npm install @pandapro-project/webtools-utils

Array

at
clampArrayRange
flattenArrayable
last
mergeArrayable
move
partition
range
remove
shuffle
toArray
uniq
uniqueBy

Math

lerp
remap

Object

clearUndefined
deepMerge
deepMergeWithArray
hasOwnProperty
isKeyOf
objectEntries
objectKeys
objectPick

Object Transform:

objectMap

Other

ArgumentsType
Arrayable
Awaitable
Constructor
DeepMerge
Fn
ItemOf
MergeInsertions
Nullable
PartitionFilter
UnionToIntersection
isServer
clamp
enumToArr
getEnumKeyByValue
getTypeName
is
isArray
isAsyncFunction
isBoolean
isClient
isDate
isDeepEqual
isDef
isElement
isEmail
isFunction
isImageDom
isNotNullOrUnDef
isNull
isNullOrUnDef
isNumber
isObject
isPromise
isString
isStringNaN
isUnDef
isWindow
sample
sleep
sums
timestamp
toString