Note: This package requires node v8, as it makes uses of native classes.
This module attempts to uniquely identify browsers by examining their header and connection information. This information can be used as a "poor-man's" session identifier in your node projects. This module can optionally set a cookie to 'lock' in a consistent fingerprint.
Resuming sessions require that either the cookie be returned to the server, or a x-header
x-__browserFingerprint in the default case, be sent on subsequent requests
const http = ;const port = 8080;const BrowserFingerprint = ;// these are the default optionsconst options =cookieKey: "__browser_fingerprint"toSetCookie: trueonlyStaticElements: truesettings:path: "/"expires: 3600000httpOnly: null;const fingerPrinter = options;http;console;