node package manager

headers_parser

Extract request headers information

headers_parser

Build Status

NodeJS library for extracting request headers information.

Installation

§ npm install headers_parser

Use

headersParser = require("headers_parser");

Extract browser version from the request headers

headersParser.getBrowser(req.headers);

Extract OS type from the request headers

headersParser.getOS(req.headers);