Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@giscus/vue
Advanced tools
Type-safe Vue component for giscus 💎
giscus is a lightweight comments widget built on GitHub issues, for blog comments, wiki pages and more.
ES modules
and CommonJS
Follow the instructions on the main website and use the
data attributes of the shown <script>
tag as the props to the Giscus
component.
Local import of the component is recommended.
<template>
<Giscus
repo="..."
repoId="..."
category="..."
categoryId="..."
mapping="..."
term="..."
reactionsEnabled="..."
emitMetadata="..."
theme="..."
/>
</template>
<script setup lang="ts">
import { Giscus } from '@giscus/vue';
</script>
You can also register a component globally, although not recommended.
import { createApp } from 'vue'
import App from './App.vue'
import { plugin } from '@giscus/vue'
createApp(App).use(plugin).mount('#app')
<template>
<Giscus
repo="..."
repoId="..."
category="..."
categoryId="..."
mapping="..."
term="..."
reactionsEnabled="..."
theme="..."
/>
</template>
npm i @giscus/vue
# or
yarn add @giscus/vue
The module that bundles the dependencies is obtained from skypack.
Import it like this:
import { Giscus } from 'https://cdn.skypack.dev/@giscus/vue'
Contributions, issues and feature requests are welcome! Feel free to check out the repository.
Give a ⭐️ if this project helped you!
Copyright © 2021-present TomokiMiyauci, forked by laymonage for giscus.
Released under the MIT license.
FAQs
See [giscus-component][giscus-component] for more details.
The npm package @giscus/vue receives a total of 593 weekly downloads. As such, @giscus/vue popularity was classified as not popular.
We found that @giscus/vue 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.