🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@thumbmarkjs/vue

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thumbmarkjs/vue

Vue integration for ThumbmarkJS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@thumbmarkjs/vue

Vue 3 integration for ThumbmarkJS - browser fingerprinting library.

GitHub repository is thumbmarkjs/integrations

Installation

npm install @thumbmarkjs/thumbmarkjs @thumbmarkjs/vue

Usage

1. Install the plugin

import { createApp } from 'vue';
import { createThumbmarkPlugin } from '@thumbmarkjs/vue';

const app = createApp(App);
app.use(createThumbmarkPlugin());
app.mount('#app');

2. Use the composable

<template>
  <div>
    <div v-if="isLoading">Loading...</div>
    <div v-else>
      <div>Visitor ID: {{ visitorId }}</div>
      <div>Thumbmark: {{ thumbmark }}</div>
    </div>
  </div>
</template>

<script setup>
import { useThumbmark } from '@thumbmarkjs/vue';

const { thumbmark, visitorId, isLoading } = useThumbmark();
</script>

With API Key

app.use(createThumbmarkPlugin({
  apiKey: 'your-key'
}));

With Options

app.use(createThumbmarkPlugin({
  apiKey: 'your-key',
  options: {
    timeout: 3000,
    exclude: ['webgl']
  }
}));

That's it! See ThumbmarkJS docs for configuration options.

License

MIT License - see the LICENSE file for details.

Keywords

thumbmarkjs

FAQs

Package last updated on 09 Nov 2025

Did you know?

Socket

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.

Install

Related posts