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
npm install @zxd2219/vueuse-core
Typescript
Module System
Node Version
NPM Version
58.6
Supply Chain
97.6
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (85.08%)
Vue (14.03%)
CSS (0.58%)
JavaScript (0.28%)
HTML (0.02%)
Shell (0.01%)
Total Downloads
151
Last Day
1
Last Week
1
Last Month
2
Last Year
41
20,311 Stars
3,271 Commits
2,576 Forks
131 Watching
6 Branches
704 Contributors
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
Publised On
13 Aug 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-33.3%
2
Compared to previous month
Last year
-62.7%
41
Compared to previous year
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
no dangerous workflow patterns detected
Reason
30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 25/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
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
22 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
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 More