Gathering detailed insights and metrics for @vueuse/core
Gathering detailed insights and metrics for @vueuse/core
Gathering detailed insights and metrics for @vueuse/core
Gathering detailed insights and metrics for @vueuse/core
Collection of essential Vue Composition Utilities for Vue 2 and 3
npm install @vueuse/core
63.5
Supply Chain
98.4
Quality
93.4
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
20,185 Stars
3,201 Commits
2,554 Forks
128 Watching
5 Branches
679 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
TypeScript (84.69%)
Vue (14.4%)
CSS (0.59%)
JavaScript (0.29%)
HTML (0.02%)
Shell (0.01%)
Cumulative downloads
Total Downloads
Last day
3%
378,957
Compared to previous day
Last week
4.5%
2,015,062
Compared to previous week
Last month
9%
8,325,445
Compared to previous month
Last year
112.8%
73,798,484
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 v12.0, VueUse no longer supports Vue 2. Please use v11.x for Vue 2 support.
1npm i @vueuse/core
1<script src="https://unpkg.com/@vueuse/shared"></script> 2 3<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 2 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 22/30 approved changesets -- score normalized to 7
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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