vue-lanyard
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

🧩vue-lanyard

Vue hook for lanyard for tracking your Discord presence through REST or websockets.

License Build Version Downloads

🦄 Usage

<script setup lang="ts">
import { useLanyard } from 'vue-lanyard';
					
const DISCORD_ID = 'XXXXXXXXXXXXXXXXXX';

const { data } = useLanyard(DISCORD_ID);
</script>

Types

All types used for this library are also readily available & can be used as follows:

import type { Data, Activity, ... } from 'vue-lanyard';

❤️ Acknowledgements

Readme

Keywords

none

Package Sidebar

Install

npm i vue-lanyard

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

7.77 kB

Total Files

6

Last publish

Collaborators

  • nurodev