Gathering detailed insights and metrics for @zxd2219/vueuse-core
Gathering detailed insights and metrics for @zxd2219/vueuse-core
Gathering detailed insights and metrics for @zxd2219/vueuse-core
Gathering detailed insights and metrics for @zxd2219/vueuse-core
Collection of essential Vue Composition Utilities for Vue 3
npm install @zxd2219/vueuse-core
Typescript
Module System
Node Version
NPM Version
TypeScript (85.43%)
Vue (13.71%)
CSS (0.53%)
JavaScript (0.3%)
HTML (0.02%)
Shell (0.01%)
Total Downloads
186
Last Day
1
Last Week
5
Last Month
11
Last Year
60
MIT License
21,326 Stars
3,482 Commits
2,724 Forks
133 Watchers
9 Branches
750 Contributors
Updated on Jul 03, 2025
Minified
Minified + Gzipped
Latest Version
10.2.1
Package Id
@zxd2219/vueuse-core@10.2.1
Unpacked Size
0.96 MB
Size
217.62 kB
File Count
11
NPM Version
9.8.1
Node Version
20.5.0
Published on
Aug 13, 2023
Cumulative downloads
Total Downloads
Collection of essential Vue Composition Utilities
1import { useLocalStorage, useMouse, usePreferredDark } from '@vueuse/core' 2 3export default { 4 setup() { 5 // tracks mouse position 6 const { x, y } = useMouse() 7 8 // if user prefers dark theme 9 const isDark = usePreferredDark() 10 11 // persist state in localStorage 12 const store = useLocalStorage( 13 'my-storage', 14 { 15 name: 'Apple', 16 color: 'red', 17 }, 18 ) 19 20 return { x, y, isDark, store } 21 }, 22}
Refer to functions list or documentations for more details.
🎩 From v4.0, it works for Vue 2 & 3 within a single package by the power of vue-demi!
1npm i @vueuse/core
From v6.0, VueUse requires
vue
>= v3.2 or@vue/composition-api
>= v1.1
1<script src="https://unpkg.com/@vueuse/shared"></script> 2<script src="https://unpkg.com/@vueuse/core"></script>
It will be exposed to global as window.VueUse
See the Contributing Guide
This project is heavily inspired by the following awesome projects.
And thanks to all the contributors on GitHub!
MIT License © 2019-PRESENT Anthony Fu
No vulnerabilities found.
Reason
30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
26 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
1
Compared to previous day
Last Week
0%
5
Compared to previous week
Last Month
120%
11
Compared to previous month
Last Year
-52.4%
60
Compared to previous year