
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@gun-vue/composables
Advanced tools
GitHub (/composables) • npm • Docs • API
Vue 3 Composition API use
functions for Gun-Vue: The Peer-to-Peer Web App Toolkit
Note: This project is in its early stages. Not all features are fully implemented or reliably tested. Contributions are welcome!
gun.user()
system managementcolor-hash
interface to generate colors for hashes and pubs... and more!
npm i @gun-vue/composables
import { useAccount } from "@gun-vue/composables";
const { account, auth, leave } = useAccount();
<div v-for="(data,field) in account.profile" :key="field">
{{ field }} - {{ data }}
</div>
Gun-Vue is client-side only and may cause errors during SSR/SSG builds. To avoid issues, consider one of these approaches:
Note: We plan to refactor the code to be more usable and tree-shakeable in SSG environments. Help needed!
<script setup async>
const { useAccount } = await import("@gun-vue/composables");
const { account } = useAccount();
</script>
<template>
<div>{{ account.profile?.name }}</div>
</template>
<ClientOnly>
<Suspense>
<YourComponent />
</Suspense>
</ClientOnly>
This prevents Gun-Vue from running during build time.
FAQs
Unknown package
The npm package @gun-vue/composables receives a total of 142 weekly downloads. As such, @gun-vue/composables popularity was classified as not popular.
We found that @gun-vue/composables demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.