---
title: "Comment by Eze Sunday on \"Building Runtime-Agnostic Apps/Packages with JavaScript\" | Hashnode"
description: "Great stuff. I can see where this can be very useful. In addition, the navigator object is only available from Node 21+ (especially the .userAgent ) https://git"
url: "https://hashnode.com/posts/building-runtime-agnostic-appspackages-with-javascript/67f75e73fc3c68c62147df61/comment/67f7798b28114e4456e06ac1"
---

[Discussion](https://hashnode.com/posts/building-runtime-agnostic-appspackages-with-javascript/67f75e73fc3c68c62147df61)

Comment [Building Runtime-Agnostic Apps/Packages with JavaScript](https://hashnode.com/posts/building-runtime-agnostic-appspackages-with-javascript/67f75e73fc3c68c62147df61)

[Eze Sunday](https://hashnode.com/@eze)

[Apr 10, 2025](https://hashnode.com/posts/building-runtime-agnostic-appspackages-with-javascript/67f75e73fc3c68c62147df61/comment/67f7798b28114e4456e06ac1)

Great stuff. I can see where this can be very useful. In addition, the `navigator` object is only available from Node 21+ (especially the `.userAgent`) [github.com/nodejs/node/pull/50200,](https://github.com/nodejs/node/pull/50200,) I'm not sure of other runtimes

[Peter Mbanugo](https://hashnode.com/@pmbanugo)

[Apr 10, 2025](https://hashnode.com/posts/building-runtime-agnostic-appspackages-with-javascript/67f75e73fc3c68c62147df61/comment/67f7798b28114e4456e06ac1#reply-67f77ab928114e4456e06aca)

it's part of the WinterCG spec, so runtimes that adhere to that spec already have that.
