I recently joined a company that offers browser-based products. I would like to collect some information about my users browsers for development purposes: browser vendor, engine, OS, CPU, and device type/model, screen resolution so that when they have a problem, I can reproduce it as close to their environment as possible. NOTE I'm not interested in fingerprinting, analytics etc. It's just to be able to quickly diagnose a problem.
How do you do that in an ethical, privacy-respecting manner? Are there any npm packages you can recommend?