UNPKG

@shwao/express-fingerprint

Version:

Client fingerprint server implementation. Fork of https://github.com/yusukeshibata/express-fingerprint. Adds IP and DNT parameter.

10 lines (9 loc) 194 B
"use strict"; module.exports = function (next) { next(null, { acceptHeaders: { accept: this.req.headers['accept'], language: this.req.headers['accept-language'] } }); };