0.1.2 • Published 3 years ago

vue-lanyard v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

🧩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

0.1.2

3 years ago

0.1.1

3 years ago