extract headers from request express npm module code example Example: hwo to cehck req header in js var host = req.headers['host'];