Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
npm install @vueuse/gesture
Typescript
Module System
Node Version
NPM Version
59.6
Supply Chain
91.7
Quality
81.1
Maintenance
50
Vulnerability
100
License
TypeScript (100%)
Total Downloads
630,631
Last Day
414
Last Week
6,329
Last Month
40,426
Last Year
331,930
368 Stars
205 Commits
18 Forks
6 Watching
1 Branches
21 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
@vueuse/gesture@2.0.0
Unpacked Size
183.94 kB
Size
35.14 kB
File Count
8
NPM Version
8.15.0
Node Version
16.17.0
Publised On
22 Feb 2024
Cumulative downloads
Total Downloads
Last day
-78.9%
414
Compared to previous day
Last week
-40.8%
6,329
Compared to previous week
Last month
-4.1%
40,426
Compared to previous month
Last year
71.5%
331,930
Compared to previous year
2
Vue Composables making your app interactive
Let's get started quickly by installing the package and adding the plugin.
From your terminal:
1pnpm add @vueuse/gesture
In your Vue app entry file:
1import { createApp } from 'vue' 2import { GesturePlugin } from '@vueuse/gesture' 3import App from './App.vue' 4 5const app = createApp(App) 6 7app.use(GesturePlugin) 8 9app.mount('#app')
You can now interact with any of your component, HTML or SVG elements using v-drag
or any other directive.
1<template> 2 <div v-drag="dragHandler" /> 3</template> 4 5<script lang="ts"> 6const dragHandler = (dragState) => { 7 // Do something with dragState 8} 9</script>
To see more about the gestures events data, check out Gesture State.
To see more about the gestures options, check out Gesture Options.
Also, here is a list of the available gestures:
This package is a fork react-use-gesture by pmndrs.
If you like this package, consider following me on GitHub and on Twitter.
๐
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
10 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