JSPM

simple-browser-fingerprint

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q36844F
  • License ISC

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

Package Exports

  • simple-browser-fingerprint

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-browser-fingerprint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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...]
*/