Export size
generated by export-size
version: 9.1.0
date: 2022-08-13T04:10:16.215Z
Please note this is bundle size for each individual APIs (excluding Vue). Since we have a lot shared utilities underneath each function, importing two different functions does NOT necessarily mean the bundle size will be the sum of them (usually smaller). Depends on the bundler and minifier you use, the final result might vary, this list is for reference only.
@vueuse/core
@vueuse/components
Function | min+gzipped |
---|---|
VOnClickOutside | 7.75 kB |
vOnClickOutside | 7.75 kB |
vScroll | 7.53 kB |
vOnKeyStroke | 7.52 kB |
vElementSize | 7.52 kB |
vElementVisibility | 7.51 kB |
vElementHover | 7.5 kB |
VOnLongPress | 7.5 kB |
vOnLongPress | 7.5 kB |
vIntersectionObserver | 7.49 kB |
vInfiniteScroll | 7.48 kB |
UseDraggable | 7.48 kB |
UseEyeDropper | 7.47 kB |
UseFullscreen | 7.47 kB |
UseDeviceOrientation | 7.46 kB |
UseDevicesList | 7.46 kB |
UseOnline | 7.46 kB |
UseGeolocation | 7.46 kB |
UseMouseInElement | 7.46 kB |
UseColorMode | 7.46 kB |
UsePreferredDark | 7.46 kB |
UseTimestamp | 7.46 kB |
OnLongPress | 7.46 kB |
UseNetwork | 7.46 kB |
UseBrowserLocation | 7.46 kB |
UseActiveElement | 7.46 kB |
UseMousePressed | 7.46 kB |
OnClickOutside | 7.45 kB |
vScrollLock | 7.45 kB |
UsePreferredLanguages | 7.45 kB |
UseDocumentVisibility | 7.45 kB |
UseElementVisibility | 7.45 kB |
UseTimeAgo | 7.45 kB |
UseWindowSize | 7.45 kB |
UseBattery | 7.45 kB |
UsePointer | 7.45 kB |
UseObjectUrl | 7.45 kB |
UsePageLeave | 7.45 kB |
UseIdle | 7.44 kB |
UseMouse | 7.44 kB |
UseDark | 7.44 kB |
UseWindowFocus | 7.44 kB |
UseVirtualList | 7.44 kB |
UseScreenSafeArea | 7.42 kB |
UseElementBounding | 7.42 kB |
UseNow | 7.41 kB |
UsePreferredReducedMotion | 7.41 kB |
UseDevicePixelRatio | 7.41 kB |
UseElementSize | 7.41 kB |
UseImage | 7.4 kB |
UsePreferredColorScheme | 7.4 kB |
UseDeviceMotion | 7.4 kB |
UseOffsetPagination | 7.4 kB |
@vueuse/math
Function | min+gzipped |
---|---|
useToFixed | 300 B |
useProjection | 278 B |
useMath | 274 B |
useAverage | 273 B |
useSum | 270 B |
useMin | 266 B |
createProjection | 264 B |
useMax | 261 B |
useClamp | 259 B |
usePrecision | 246 B |
createGenericProjection | 210 B |
and | 204 B |
logicAnd | 204 B |
useTrunc | 204 B |
useCeil | 202 B |
logicOr | 201 B |
or | 201 B |
useRound | 200 B |
useAbs | 199 B |
useFloor | 199 B |
logicNot | 192 B |
not | 192 B |
@vueuse/nuxt
Function | min+gzipped |
---|---|
default | 671 B |
@vueuse/router
Function | min+gzipped |
---|---|
useRouteQuery | 461 B |
useRouteParams | 454 B |
useRouteHash | 185 B |
@vueuse/integrations
Function | min+gzipped |
---|---|
useAxios | 1.4 kB |
useAsyncValidator | 1.2 kB |
useDrauu | 957 B |
createCookies | 771 B |
useCookies | 730 B |
useFocusTrap | 681 B |
useFuse | 490 B |
useNProgress | 462 B |
useChangeCase | 447 B |
useJwt | 359 B |
useQRCode | 339 B |
@vueuse/rxjs
Function | min+gzipped |
---|---|
useSubject | 310 B |
useObservable | 279 B |
useSubscription | 222 B |
fromEvent | 210 B |
from | 153 B |
toObserver | 88 B |
@vueuse/firebase
Function | min+gzipped |
---|---|
useFirestore | 506 B |
useRTDB | 287 B |
useAuth | 164 B |
@vueuse/electron
Function | min+gzipped |
---|---|
useIpcRenderer | 535 B |
useZoomFactor | 393 B |
useZoomLevel | 358 B |
useIpcRendererOn | 336 B |
useIpcRendererInvoke | 303 B |
@vueuse/shared
Function | min+gzipped |
---|---|
watchTriggerable | 987 B |
throttledWatch | 824 B |
watchThrottled | 824 B |
debouncedWatch | 786 B |
watchDebounced | 786 B |
ignorableWatch | 763 B |
watchIgnorable | 763 B |
useDateFormat | 734 B |
pausableWatch | 714 B |
watchPausable | 714 B |
until | 653 B |
useInterval | 638 B |
useTimeout | 621 B |
watchAtMost | 561 B |
toRefs | 525 B |
controlledRef | 523 B |
refWithControl | 516 B |
computedEager | 468 B |
eagerComputed | 468 B |
formatDate | 458 B |
refThrottled | 454 B |
throttledRef | 454 B |
useThrottle | 454 B |
makeDestructurable | 430 B |
watchWithFilter | 421 B |
debouncedRef | 415 B |
refDebounced | 415 B |
useDebounce | 415 B |
reactiveOmit | 407 B |
useThrottleFn | 400 B |
useIntervalFn | 394 B |
reactifyObject | 374 B |
useDebounceFn | 368 B |
useTimeoutFn | 347 B |
reactiveComputed | 342 B |
normalizeDate | 332 B |
computedWithControl | 330 B |
controlledComputed | 330 B |
extendRef | 330 B |
watchArray | 330 B |
toReactive | 320 B |
autoResetRef | 315 B |
refAutoReset | 315 B |
syncRef | 315 B |
throttleFilter | 313 B |
debounceFilter | 289 B |
createSharedComposable | 287 B |
useToggle | 285 B |
useToNumber | 278 B |
useCounter | 258 B |
createReactiveFn | 250 B |
reactify | 250 B |
useArrayReduce | 246 B |
increaseWithUnit | 239 B |
syncRefs | 236 B |
createEventHook | 232 B |
pausableFilter | 224 B |
useArrayFindIndex | 220 B |
useArrayFind | 218 B |
useLastChanged | 218 B |
useArrayJoin | 215 B |
useArraySome | 215 B |
set | 214 B |
useArrayEvery | 210 B |
useArrayFilter | 209 B |
useArrayMap | 208 B |
createSingletonPromise | 203 B |
reactivePick | 201 B |
createInjectionState | 200 B |
__onlyVue3 | 199 B |
directiveHooks | 198 B |
createGlobalState | 197 B |
useToString | 195 B |
createFilterWrapper | 193 B |
objectPick | 193 B |
refDefault | 193 B |
tryOnBeforeMount | 192 B |
tryOnMounted | 191 B |
promiseTimeout | 189 B |
resolveRef | 188 B |
watchOnce | 187 B |
tryOnScopeDispose | 183 B |
get | 179 B |
rand | 177 B |
resolveUnref | 176 B |
isWindow | 175 B |
whenever | 174 B |
tryOnBeforeUnmount | 173 B |
tryOnUnmounted | 169 B |
clamp | 165 B |
containsProp | 165 B |
isObject | 164 B |
isDefined | 158 B |
assert | 155 B |
isBoolean | 151 B |
now | 151 B |
isFunction | 148 B |
bypassFilter | 147 B |
isString | 146 B |
invoke | 145 B |
isNumber | 145 B |
timestamp | 145 B |
noop | 144 B |
isDef | 143 B |
identity | 138 B |
isIOS | 136 B |
isClient | 133 B |