DamonOehlman / detect-browser

Unpack a browser type and version from the useragent string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting browser name in cloud functions

kartikwatwani opened this issue · comments

I use firebase cloud functions https trigger to redirect user different links based on the user's browser currently I am getting browser.name as node. Is there any way I can give user-agent parameter to detect-browser so that it forcefully detects browser name using user-agent as for a real browser and not use process.version of node?