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

hw-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hw-fingerprint

## About

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
92
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

hw-fingerprint

About

This library provides a fingerprint() function that produces a 512-bit signature based on the host machine's hardware information, suitable for use in Electron or Node client apps that require authentication against a server.

It uses information provided by Node's OS module and systeminformation library and has no other dependencies.

Usage

fingerprint() is always asynchronous and returns a Node Buffer. The returned promise is internally cached, so the actual implementation gets called just once.

  const { fingerprint } = require('hw-fingerprint')

  // with async/await
  async function(){
    const signature = await fingerprint()
    // do something
  }

  // with promises
  function(){
    fingerprint.then(function(signature){
      // do something
    })
  }

FAQs

Package last updated on 30 Oct 2019

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