UNPKG

@shwao/express-fingerprint

Version:

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

7 lines (6 loc) 105 B
"use strict"; module.exports = function (next) { next(null, { dnt: !!this.req.headers.dnt }); };