{"library":"ahooks-vue","type":"library","category":null,"description":"ahooks-vue is a comprehensive collection of Vue Composition API hooks, designed to simplify common logic and stateful operations in Vue 2 (specifically 2.7+) and Vue 3 applications. Many of its hooks are direct ports and adaptations from the popular React hooks library, ahooks, offering a familiar API for developers transitioning or working across both ecosystems. Currently at version 0.15.1, the library sees a consistent, though not strictly scheduled, release cadence, with minor versions frequently bringing new features and bug fixes. Its key differentiators include broad compatibility achieved through `vue-demi`, enabling a single codebase for both major Vue versions, and full TypeScript support, providing predictable static types for enhanced developer experience and code maintainability. It aims to provide a robust and production-ready set of utilities for common patterns like state management, async requests, DOM operations, and more, similar to `vue-use` but with a distinct API influence from `ahooks`.","language":"javascript","status":"active","version":"0.15.1","tags":["javascript","ahooks-vue","ahooks","vue","vue3","hooks","vue-use","vue-hooks","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ahooks-vue","imports":["import { useRequest } from 'ahooks-vue';","import { useWorkerFunction } from 'ahooks-vue';","import { useUrlState } from 'ahooks-vue';","import type { Ref } from 'vue';"]},{"cmd":"yarn add ahooks-vue","imports":[]},{"cmd":"pnpm add ahooks-vue","imports":[]}],"homepage":"https://dewfall123.github.io/ahooks-vue/","github":"https://github.com/dewfall123/ahooks-vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ahooks-vue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ahooks-vue/compatibility"}}