Gathering detailed insights and metrics for @knightly/vueuse__shared
Gathering detailed insights and metrics for @knightly/vueuse__shared
npm install @knightly/vueuse__shared
Typescript
Module System
Node Version
NPM Version
21.5
Supply Chain
56.4
Quality
78.1
Maintenance
100
Vulnerability
100
License
TypeScript (75.65%)
Vue (20.54%)
CSS (2.56%)
JavaScript (1.25%)
Total Downloads
2,087
Last Day
1
Last Week
3
Last Month
6
Last Year
221
148 Stars
1,344 Commits
17 Forks
2 Watching
5 Branches
1 Contributors
Latest Version
4.0.0-knightly-dev.202011090932
Package Id
@knightly/vueuse__shared@4.0.0-knightly-dev.202011090932
Unpacked Size
3.96 kB
Size
1.17 kB
File Count
2
NPM Version
6.14.8
Node Version
14.15.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
3
Compared to previous week
Last month
-53.8%
6
Compared to previous month
Last year
-49.5%
221
Compared to previous year
1
Collection of essential Vue Composition Utilities
1import { useMouse, usePreferredDark, useLocalStorage } from '@vueuse/core' 2 3export default { 4 setup() { 5 // tracks mouse position 6 const { x, y } = useMouse() 7 8 // is 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
Vue 3 Demo: Vite, Webpack / Vue 2 Demo: Vue CLI
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
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
57 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-30
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