Socket
Socket
Sign inDemoInstall

process-fingerprint

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    process-fingerprint

Create a fingerprint value that is exposed to your user environment


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
5.24 kB
Created
Weekly downloads
 

Readme

Source

process-fingerprint

Create a fingerprint value that is exposed to your user environment

Build Status

Installation

$ npm install --save process-fingerprint

Usage

var fingerprint = require('process-fingerprint');

fingerprint();
// => "_pf1440759573263"

Discussion

I ran into an issue recently while building a Metalsmith + Gulp Boilerplate where existing fingerprint modules weren't sharing the fingerprint values nicely across the gulp and metalsmith build processes. This lead me to the conclusion that the fingerprint value should be hoisted up to some globally-available namespace, where the metalsmith and gulp build process could share the same fingerprint value.

:heavy_exclamation_mark: Disclaimer

I am sure there is a better way to create a fingerprint variable, perhaps I shouldn't be using the process.env object for my own silly experiments, but for now, this approach will solve the problem of making a global fingerprint across multiple build processes. I will use this module with caution until my experiments lead me to believe that this is a worthwhile fingerprinting method.

Please open an issue to start a discussion, share your thoughts or offer suggestions

License

MIT @ Michael Wuergler

Keywords

FAQs

Last updated on 05 Sep 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc