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

simple-browser-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-browser-fingerprint

A simple synchronous tool for browser fingerprint which can be used as key on user browsers

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
decreased by-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

simpleBrowserFingerPrint

This is a simbple package which can be used as browser fingerprint for those cases you want to use browser specific key at client side, like encrypting the localstorage.

Note: please Consider that thsis not a golden key to your problem, but have sth for security is better than not to have anything.

import simpleBrowserFingerprint from "simple-browser-fingerprint";
const fingerprint = simpleBrowserFingerprint();
/*output:  //fingerprint:
"vendorSub:,productSub:20030107,vendor:Google Inc.,maxTouchPoints:0,hardwareConcurrency:8,cookieEna..."
*/

I should note, for specific task you can also get the value as an array if you pass true to the function:

import simpleBrowserFingerprint from "simple-browser-fingerprint";
const fingerprint = simpleBrowserFingerprint(true);
/*output:  //fingerprint:
(52) ["vendorSub:", "productSub:20030107", "vendor:Google Inc.", "maxTouchPoints:0", "hardwareConcurrency:8", "cookieEnabled:true", "appCodeName:Mozilla", "appName:Netscape", "appVersion:5...]
*/

Keywords

FAQs

Package last updated on 05 May 2020

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

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