Socket
Socket
Sign inDemoInstall

browser-signature

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-signature

Browser unique signature (Fingerprint) generator


Version published
Weekly downloads
942
decreased by-3.78%
Maintainers
1
Weekly downloads
 
Created
Source

Browser Signature

Browser unique signature (Fingerprint) generator

This is a simple and tiny (<1kb) package for generating unique user browser signature or fingerprint.

The package allow you to identify user online using their browser unique signature

The browser unique fingerprint or signature is generated using the hash of browser mimeTypes count + userAgent string length + global properties count + screen property values

Available in four formats:

  • ES Module: dist/browser-signature.m.js
  • CommonJS: dist/browser-signature.js
  • ModernJS: dist/browser-signature.modern.js
  • UMD: dist/browser-signature.umd.js

Install

$ npm install --save browser-signature

Install Usage

import browserSignature from 'browser-signature';

const signature = browserSignature();

console.log("Current Browser Unique Signature: ", signature);
 // Result will look like => 'Current Browser Unique Signature: MjY2NjE4Z3AwMThnbXpvbw=='

From CDN

<script src="https://cdn.jsdelivr.net/npm/browser-signature@1.0.4/dist/browser-signature.umd.js" ></script>
or
<script src="https://unpkg.com/browser-signature@1.0.4/dist/browser-signature.umd.js"></script>

From CDN Usage


const signature = browserSignature();

console.log("Current Browser Unique Signature: ", signature);
 // Result will look like => 'Current Browser Unique Signature: MuY1NjE9b3swpTknbXpvbw=='

API

browserSignature()

Returns: String

License

MIT © Hammed Olalekan Osanyinpeju

Keywords

FAQs

Package last updated on 26 Dec 2022

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