Skip to content
On this page

Export size

generated by export-size
version: 1.0.0
date: 2022-12-15T08:47:06.385Z

请注意,这是每个API(不包含@mpxjs/core)的bundle包大小。 由于我们在每个函数下面都有很多共享的实用程序,因此导入了两个不同的函数不一定意味着bundle大小将是它们的总和(通常较小)。取决于您使用的bundler和minifier,最终结果可能会有所不同,此列表仅供参考。

@mpxjs/mpxuse-core

Functionmin+gzipped
useStorage838 B
watchTriggerable630 B
throttledWatch461 B
watchThrottled461 B
ignorableWatch441 B
watchIgnorable441 B
debouncedWatch418 B
watchDebounced418 B
useThrottleFn384 B
pausableWatch363 B
watchPausable363 B
useDebounceFn352 B
watchAtMost348 B
useEventBus343 B
useCounter318 B
watchArray312 B
throttleFilter294 B
useTitle279 B
debounceFilter272 B
useToggle266 B
StorageSerializers263 B
watchWithFilter235 B
useArrayReduce228 B
extendRef225 B
createReactiveFn222 B
reactify222 B
useArraySome205 B
pausableFilter202 B
useArrayFindIndex199 B
useArrayFind198 B
useArrayJoin192 B
useArrayEvery191 B
useCached189 B
useArrayFilter189 B
useArrayMap186 B
createGlobalState178 B
createFilterWrapper175 B
handleNoEvent168 B
rand168 B
watchOnce168 B
promiseTimeout166 B
isWindow154 B
whenever153 B
isObject149 B
resolveRef146 B
resolveUnref144 B
hasOwn141 B
noop137 B
clamp136 B
assert132 B
now128 B
isBoolean126 B
isFunction124 B
timestamp124 B
isString123 B
isDef121 B
isIOS121 B
isNumber121 B
bypassFilter119 B
isClient114 B

@mpxjs/mpxuse-math

Functionmin+gzipped
useProjection261 B
useAverage255 B
createProjection250 B
useMath247 B
useSum247 B
useMin244 B
useMax241 B
useClamp239 B
usePrecision226 B
createGenericProjection196 B
useCeil185 B
useRound185 B
logicOr182 B
or182 B
useTrunc182 B
and181 B
logicAnd181 B
useAbs175 B
logicNot174 B
not174 B
useFloor173 B

@mpxjs/mpxuse-shared

Functionmin+gzipped
watchTriggerable630 B
throttledWatch461 B
watchThrottled461 B
ignorableWatch441 B
watchIgnorable441 B
debouncedWatch418 B
watchDebounced418 B
useThrottleFn384 B
pausableWatch363 B
watchPausable363 B
useDebounceFn352 B
watchAtMost348 B
useCounter318 B
watchArray312 B
throttleFilter294 B
debounceFilter272 B
useToggle266 B
watchWithFilter235 B
useArrayReduce228 B
extendRef225 B
createReactiveFn222 B
reactify222 B
useArraySome205 B
pausableFilter202 B
useArrayFindIndex199 B
useArrayFind198 B
useArrayJoin192 B
useArrayEvery191 B
useArrayFilter189 B
useArrayMap186 B
createGlobalState178 B
createFilterWrapper175 B
handleNoEvent168 B
rand168 B
watchOnce168 B
promiseTimeout166 B
isWindow154 B
whenever153 B
isObject149 B
resolveRef146 B
resolveUnref144 B
hasOwn141 B
noop137 B
clamp136 B
assert132 B
now128 B
isBoolean126 B
isFunction124 B
timestamp124 B
isString123 B
isDef121 B
isIOS121 B
isNumber121 B
bypassFilter119 B
isClient114 B

根据MIT许可证发布。