Gathering detailed insights and metrics for @vue-composable/cookie
Gathering detailed insights and metrics for @vue-composable/cookie
Gathering detailed insights and metrics for @vue-composable/cookie
Gathering detailed insights and metrics for @vue-composable/cookie
Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
npm install @vue-composable/cookie
Typescript
Module System
46.9
Supply Chain
96.5
Quality
75.3
Maintenance
50
Vulnerability
99.6
License
v1.0.0-beta.24
Updated on Oct 17, 2021
v1.0.0-beta.23
Updated on Apr 24, 2021
v1.0.0-beta.22
Updated on Apr 10, 2021
v1.0.0-beta.21
Updated on Mar 27, 2021
v1.0.0-beta.20
Updated on Mar 06, 2021
v1.0.0-beta.19
Updated on Mar 06, 2021
TypeScript (94.05%)
JavaScript (5.95%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,183 Stars
1,028 Commits
64 Forks
12 Watchers
20 Branches
15 Contributors
Updated on Jul 10, 2025
Latest Version
1.0.0-beta.24
Package Id
@vue-composable/cookie@1.0.0-beta.24
Size
4.60 kB
Published on
Oct 17, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
4
Use js-cookie library with the composition-api
Vue3 aka vue-next is fully supported
1# @vue/composition-api 2 3# install with yarn 4yarn add @vue/composition-api @vue-composable/cookie 5 6# install with npm 7npm install @vue/composition-api @vue-composable/cookie 8 9 10# vue-next / vue@3.0.0 11 12# install with yarn 13yarn add @vue-composable/cookie 14 15# install with npm 16npm install @vue-composable/cookie
Check our documentation
1<template> 2 <div> 3 cookie value: {{ cookie }} 4 <p> 5 <button @click="updateCookie">Update Cookie</button> 6 </p> 7 <p> 8 <button @click="deleteCookie">Remove Cookie</button> 9 </p> 10 </div> 11</template> 12 13<script> 14import { defineComponent } from "@vue/composition-api"; 15import { useCookie } from "@vue-composable/cookie"; 16 17export default defineComponent({ 18 name: "cookie-example", 19 20 setup() { 21 let idx = 0; 22 23 let { cookie, setCookie, removeCookie } = useCookie("my-cookie"); 24 25 function updateCookie() { 26 cookie.value = `my-cookie-${++idx}`; 27 } 28 29 function deleteCookie() { 30 removeCookie(); 31 } 32 33 return { 34 cookie, 35 36 updateCookie, 37 deleteCookie, 38 }; 39 }, 40}); 41</script>
git checkout -b feat/new-composable
git commit -am 'feat(composable): add a new composable'
git push origin feat/new-composable
1# install packages 2yarn 3 4# build and test for v2 5yarn build --version=2 6yarn test:vue2 7 8# build and test for v3 9yarn build 10yarn test
git checkout -b feat/new-composable
git commit -am 'feat(composable): add a new composable'
git push origin feat/new-composable
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
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
93 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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