Added node module dependencies into version control
Test / test (push) Failing after 9s

This commit is contained in:
2023-07-27 20:18:19 +02:00
parent 4af7ecf55f
commit 9710f9c8a2
366 changed files with 95223 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
export function getUserAgent() {
if (typeof navigator === "object" && "userAgent" in navigator) {
return navigator.userAgent;
}
if (typeof process === "object" && "version" in process) {
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
}
return "<environment undetectable>";
}