@vue-use-x/common

Common utilities package of vue-use-x
3,237
Install
npm install @vue-use-x/common
Latest Version:1.0.1
Vue:3
License:MIT
Last Updated:Aug 21, 2025
Links: GitHub  ·  npm
Maintainer: crazydos

@vue-use-x/common

Common package of vue-use-x, see docs: https://vue-use-x.netlify.app/

Provides general-purpose composables to simplify repetitive tasks during development, such as toggling loading states or using provide/inject, etc.

Installation

npm i @vue-use-x/common

Functionalities

Context

  • createContext: A utility to conveniently create a context for provide and inject values.
  • ensureInjection: Useful when the key that needs to be injected must be provided.

Toggle

  • withToggleRefAsync: Run an (async/sync) function while toggling a boolean ref object. It can be used in scenarios such as toggling a loading state.

Related Packages

vueuse-temporals

Date related composables for atmosphere-ui

1,676 1
@alvarosabu/ui

UI Library for my personal projects

14,634 5
@orbisk/vue-use-media-recorder

🪝 Vue Composable around MediaRecorder API

12,546 2
@cyklang/vue3

Vue 3 composables for CYKLang

11,797
@teamnovu/kit-composables

A collection of composables

5,342 2

Version History

Version Released Vue License
1.0.1 ^3.0.0 MIT
1.0.0 ^3.0.0 MIT