Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thumbmarkjs/thumbmarkjs

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thumbmarkjs/thumbmarkjs - npm Package Compare versions

Comparing version 0.14.1 to 0.14.2

dist/thumbmark.esm.d.ts

12

package.json
{
"name": "@thumbmarkjs/thumbmarkjs",
"version": "0.14.1",
"version": "0.14.2",
"description": "",
"main": "dist/thumbmark.cjs.js",
"module": "dist/thumbmark.esm.js",
"types": "dist/types/index.d.ts",
"main": "./dist/thumbmark.cjs.js",
"module": "./dist/thumbmark.esm.js",
"types": "./dist/types/thumbmark.esm.d.ts",
"exports": {

@@ -20,3 +20,3 @@ ".": {

"test": "jest",
"build": "rm -rf dist/* && rollup -c"
"build": "rm -rf dist/* && rm -rf types/* && rollup -c"
},

@@ -37,3 +37,2 @@ "keywords": [

"devDependencies": {
"@testing-library/jest-dom": "^6.1.6",
"@rollup/plugin-commonjs": "^25.0.7",

@@ -44,2 +43,3 @@ "@rollup/plugin-json": "^6.1.0",

"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/jest-dom": "^6.1.6",
"@types/jest": "^29.5.11",

@@ -46,0 +46,0 @@ "@types/jsdom": "^21.1.6",

@@ -9,3 +9,3 @@ # ThumbmarkJS

🙏 Please don't do evil. ThumbmarkJS is meant to be used for good. We use this at work to prevent scammers and spammers.
🙏 Please don't do evil. ThumbmarkJS is meant to be used for good. Use this to prevent scammers and spammers for example. If you see this library being used for evil, contact me.

@@ -30,3 +30,3 @@ ## Demo page

```javascript
<script src="https://cdn.jsdelivr.net/npm/@thumbmarkjs/thumbmarkjs/dist/thumbmark.iife.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@thumbmarkjs/thumbmarkjs/dist/thumbmark.umd.js"></script>
<script>

@@ -43,3 +43,3 @@ ThumbmarkJS.getFingerprint().then(

<script>
import('https://cdn.jsdelivr.net/npm/@thumbmarkjs/thumbmarkjs/dist/thumbmark.iife.js')
import('https://cdn.jsdelivr.net/npm/@thumbmarkjs/thumbmarkjs/dist/thumbmark.umd.js')
.then(() => {

@@ -56,3 +56,16 @@ ThumbmarkJS.getFingerprint().then((fp) => { console.log(fp)})

## Options
You can use the `setOption` method to change the behavior of the library. Currently it takes only one option.
| option | type | example | what it does |
| - | - | - | - |
| exclude | string[] | ['webgl', 'system.browser.version'] | removes components from the fingerprint hash. An excluded top-level component improves performance. |
example usage:
```
ThumbmarkJS.setOption('exclude', ['webgl', 'system.browser.version])
```
## Install with NPM

@@ -59,0 +72,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc