This example connects to the d3 service over the Unix domain socket, launches the camera to show on screen, requests the base status data, and prints the base status data.
node example.js
ctrl+c
to exit
If you want to write in JavaScript, but don't need a full Node.js environment, you can create a custom standby screen that runs in an Electron/Chromium window and is loaded from your server.