faro-web-sdk
faro-web-sdk copied to clipboard
Node support?
Description
We're working on a platform and SDK for local-first applications, DXOS.
One aspect of this is that a lot of our runtime and platform is isomorphic-- it can run in as a CLI or server in Node, as well as in a browser. I'd like our client to be able to emit logs, metrics, and traces to Grafana Cloud in the same manner regardless of whether it's running in the browser or node.
We'd also make use of the RUM features of the Faro SDK.
Proposed solution
Remove or make optional any browser-specific dependencies in the SDK so it can be used in Node and potentially other non-browser runtimes.