simple-browser-fingerprint
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i simple-browser-fingerprint

Weekly Downloads

20

Version

1.0.0

License

ISC

Unpacked Size

4.47 kB

Total Files

5

Last publish

Collaborators

  • seyyedkhandon