What is the problem this feature will solve?
Cloudflare Workers and Deno has a navigator.userAgent API. If this API is implemented, Node.js improve compatibility with them and web.
Recently, WinterCG (W3C Community Group) was lanunched to promote runtimes supporting an unified API regardless of the runtime they are using: be it browsers, servers, embedded applications, or edge runtimes. The WinterCG's proposal also includes navigator.userAgent
If you are interested in implementing it, I would like to get started!
What is the feature you are proposing to solve the problem?
Implement gloalThis.navigator.userAgent. userAgent value is considered to be "Node.js ${version}" like Deno's implementation, but I hope we can discuss if this is appropriate.
What alternatives have you considered?
No response
What is the problem this feature will solve?
Cloudflare Workers and Deno has a
navigator.userAgentAPI. If this API is implemented, Node.js improve compatibility with them and web.Recently, WinterCG (W3C Community Group) was lanunched to promote runtimes supporting an unified API regardless of the runtime they are using: be it browsers, servers, embedded applications, or edge runtimes. The WinterCG's proposal also includes
navigator.userAgentIf you are interested in implementing it, I would like to get started!
What is the feature you are proposing to solve the problem?
Implement
gloalThis.navigator.userAgent. userAgent value is considered to be "Node.js ${version}" like Deno's implementation, but I hope we can discuss if this is appropriate.What alternatives have you considered?
No response